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.
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 sinceA 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/permissionssee the edit
Confirmed sinceAnthropic'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…permissionssee 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.