[Bug] Grep and Glob tools not registered in Claude Code 2.1.154+

Status Fixed / completed
Reported on v2.1.153
Maintainer reply None cached
Activity 1 comment · opened Aug 12, 2026 · closed Aug 17, 2026

Bug Description
Summary
Grep and Glob stopped being registered as tools between 2.1.153 and 2.1.154.
Bisected on a single machine/account with npx probes ("is a tool named Grep in
your tool list?"), so the two builds differ only by version:

2.0.0 Grep/Glob: yes
2.1.0 yes
2.1.153 yes
2.1.154 no <-- boundary
2.1.229 no (current latest)

Environment
macOS (Darwin 25.5.0, arm64), native install, personal Claude Max account
(no managing org). Reproduces in the interactive TUI and via the agent
SDK/ACP bridge launched with --tools default.

Ruled out

  • No deny/disallowedTools in user, project, or local settings
  • No managed-settings.json on this machine
  • No CLI flags (bare claude); no tool-gating env vars; reproduces with a

stripped environment and from any cwd

  • ~/.claude.json projects[...].allowedTools is []
  • Not the install: a fresh npx @anthropic-ai/claude-code@2.1.229 reproduces
  • Not model-dependent: Sonnet, Opus 4.6, 4.7 and 5 all lack them on 2.1.229

Notes

  • ToolSearch reports them as not-deferred, i.e. absent from the registry

entirely rather than permission-denied or available as stubs.

  • The strings "Grep" and "Glob" still appear 12x each in the 2.1.229 binary,

so they appear to be gated out rather than removed.

  • Suspected cause is the 2.1.154 entry "the lean system prompt is now the

default for all models except Haiku, Sonnet, and Opus 4.7 and earlier" —
but that exception list is contradicted by the model test above.

  • The tools reference docs still list Grep and Glob as standard tools with no

deprecation or consolidation note.

Questions

  1. Is the removal intentional for the lean system prompt?
  2. If so, is there a supported way to opt out, or should the docs be updated?

Environment Info

  • Platform: darwin
  • Version: 2.1.229
  • Feedback ID: d1800bc1-4309-4e50-97e9-7e9fc9b19c00

Errors

[]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗