Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.273 ·

New CLI diagnostics for malformed --tools entries

The --tools flag now gives specific warnings for common typos and formatting mistakes

Use it now Improvements
JSON All of v2.1.273
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.273,
What probably matters to youSection of the release
What

The --tools flag, which restricts which built-in tools Claude Code can use, now parses its entries more carefully and warns about specific common mistakes:

  • an entry that doesn't match any recognized built-in tool name (possible typo)
  • a rule written with parentheses where a plain tool name was meant
  • an exclusion prefix (like !) separated from the tool name by a stray space
  • a bare exclusion prefix with nothing after it
Why

These warnings catch malformed --tools entries that would otherwise silently fail to do what was intended, such as a tool being unexpectedly withheld because of a typo, without any explanation.

Read from
Names in the bundle--tools
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up --tools, on CLI reference. | `--allowedTools`, `--allowed-tools` | Tools that execute without prompting for permission. See [permission rule syntax](/docs/en/settings-reference#permission-rule-syntax) for pattern matching. To restrict which tools are available, use … cli-reference see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --tools, on CLI reference.

See this entry in the whole of v2.1.273 →

Feedback