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

Open 💬 4 comments Opened May 23, 2026 by johnkwaters

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 ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗