[Bug] Glob and Grep missing from Agent Teams deferred tools catalog

Status Closed — not planned
Reported on v2.1.150
Maintainer reply None cached
Activity 6 comments · opened May 23, 2026 · closed Aug 29, 2026

Bug Description
Subject: Agent Teams (experimental): Glob and Grep missing from both default tools and ToolSearch deferred catalog Version: Claude Code 2.1.150, macOS 25.3.0 arm64 Repro 1. ~/.claude/settings.json contains "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }. 2. Start claude in any project. Prompt the agent: "List every tool you currently have available." 3. The initial toolset is Agent, AskUserQuestion, Bash, Edit, Read, ScheduleWakeup, ShareOnboardingGuide, Skill, ToolSearch, Write. No Glob, no Grep. 4. Call ToolSearch with query: "select:Glob,Grep" → returns "No matching deferred tools found." They aren't in the deferred catalog either. 5. Confirm they exist in the build: claude --tools default,Glob,Grep brings them back and they function correctly. Why this matters Agent Teams' lean-startup model relies on ToolSearch to lazily surface tools. Glob and Grep are heavy-use file-search primitives — without them, agents either fall back to Bash find/grep (which user-level CLAUDE.md rules often forbid, creating deadlocks with the auto-mode classifier) or load every MCP tool schema eagerly via --tools default,Glob,Grep, defeating the lean-context purpose of Agent Teams. There's no syntax to say "default subset plus these extras, still lazy" — --tools is all-or-nothing. Ask Add Glob and Grep to the Agent Teams deferred-tools catalog so ToolSearch can surface them on demand, the same way TaskCreate, WebFetch, EnterPlanMode, etc. already work.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.150
  • Feedback ID: 667ee18b-9930-4c17-99bc-fd0285cb1fc1

Errors

[]

View original on GitHub ↗

4 Comments

pengln · 3 months ago

I encountered the same issue. I wasn't using Agent Teams either, and I was also prompted that the built-in tools Glob and Grep could not be found.

ClaudeCode 2.1.150 via Linux Debian 13

pengln · 3 months ago

When open agents is enabled, Glob and Grep go missing; when it is disabled, they become available again.

calebhearth · 2 months ago

I don't see Glob/Grep _at all_ in the claude cli

Third-Thing · 1 month ago
Native builds on macOS and Linux: the Glob and Grep tools are replaced by embedded bfs and ugrep available through the Bash tool — faster searches without a separate tool round-trip (Windows and npm-installed builds unchanged)

https://code.claude.com/docs/en/changelog#2-1-117

Sorry but the CHANGELOG was misleading. These [bfs and ugrep] are aliased to find and grep in Claude's shell but they are not intended to be accessed directly.

https://github.com/anthropics/claude-code/issues/52476

...the removal in v2.1.117 was by design (embedded bfs/ugrep via Bash, per the changelog), but the model's own guidance and the user-facing docs were never updated to match — so the model still advertises and reaches for Glob/Grep, and users keep re-discovering the absence the hard way (hence those three separate reports over several months). Fixing the messaging — model guidance + docs (https://github.com/anthropics/claude-code/issues/51781) — is what prevents further duplicates.

https://github.com/anthropics/claude-code/issues/69849

Showing cached comments. Read the full discussion on GitHub ↗