Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Warnings for mistyped entries in --allowedTools, --disallowedTools and --tools

Claude Code now warns, naming the flag, when a tool entry looks incomplete or a tool name contains parentheses

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
CLIArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

The --allowedTools, --disallowedTools and --tools flags are options you add when starting Claude Code to control which tools Claude may use. Claude Code now checks their entries and warns, naming the flag, in two cases:

  • An entry doesn't look like a complete rule.
  • A tool name contains parentheses, so it doesn't look like a tool name and the list may not give you the tools you meant.
Why

A typo in one of these lists used to fail silently, leaving you with different tools or permissions than you expected. The warning points you at the mistake.

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 Manage sessions. * **Tool access**: `--tools`, `--allowedTools`, `--disallowedTools` sessions see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up --tools, on Manage sessions.
Anthropic's release notes agreeAdded a startup warning when an --allowedTools, --disallowedTools or --tools value has an entry that doesn't look like a complete rule

See this entry in the whole of v2.1.326 →

Feedback