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 ·

An "ask" paired with an "allow" can now go to the permission callback

For some tools, a permission "ask" combined with an "allow" now goes to the canUseTool callback, as "ask" with "deny" already did

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

Unclear Which tools pass the check that lets an allow take part is not stated.

What

When Claude wants to use a tool, Claude Code combines several decisions, including ones from hooks (your own scripts that run at set points), into allow, deny or ask. Programs built with the Agent SDK can supply a canUseTool callback, a function that gets a say in that decision.

Before, an "ask" went to that callback early only when the other decision was "deny". Now it also does when the other decision is "allow" and a check on the tool and its context passes.

Why

This can change when you or your program see a permission prompt. For some tools, an allow from a hook may now settle a request that would otherwise have asked.

Read from
Names in the bundlecanUseTool
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.

Added since A small documentation edit on Configure permissions touched a line naming canUseTool after this was published. The Claude Agent SDK provides permission controls to manage how Claude uses tools. Use permission modes and rules to define what's allowed automatically, and the [`canUseTool` callback](https://code.claude.com/docs/en/agent-sdk/user-input)… agent-sdk/permissions see the edit
Confirmed since Anthropic's documentation has since written up canUseTool, on Configure permissions. In that setup, a call the mod approves can skip the prompt from an ask rule, a `PreToolUse` hook, or `permissions.blockReadsOutsideWorkingDirectories`. It can also skip your `--permission-prompt-tool` or `canUseTool` callback. Auto mode, p… permissions see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich tools pass the check that lets an allow take part is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up canUseTool, on Configure permissions.

See this entry in the whole of v2.1.326 →

Feedback