Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Plugin HooksArea: what it touches
ImprovementsKind: in v2.1.289,
ImprovementsSection of the release
Unclear What the plugin check does with the hook's ask is not clear.
What
Plugins can define a tool.check hook, a piece of plugin code that looks at a tool call before it runs. A tool call is Claude Code using one of its tools, such as running a shell command or editing a file. When a PreToolUse hook has asked for permission, Claude Code now builds the plugin's tool.check with that ask passed in as an extra input. A PreToolUse hook is a hook that runs before a tool call executes and can block it. Previously the check was built without this input.
Why
This changes how plugin tool checks and permission requests from hooks fit together. If you use both, a plugin's check can now be affected by an earlier hook's request to ask you first.
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 Code in Claude Desktop on 3P touched a line naming PreToolUse after this was published.| `builtinToolPolicy` | Tools set to `"ask"` require approval on each call in Code sessions, enforced via a PreToolUse hook and Claude Code `permissions.ask` rules. Argument-scoped rules such as `Bash(curl *)` are [applied as managed polic…third-party/claude-desktop/codesee the edit
Added sinceA small documentation edit on React to events with a mod touched a line naming tool.check after this was published.To see the tool calls that the API ran itself during the request, such as calls to the [advisor tool](/docs/en/advisor), read `result.serverToolUses`. Claude Code doesn't run these calls, so no `tool.call` or `tool.check` hook fires for th…plugins/mods/eventssee the edit
Confirmed sinceAnthropic's documentation has since written up PreToolUse, on Claude Code changelog.* Fixed some permission rules and safety checks not being applied to a tool call after a PreToolUse hook rewrote its inputchangelogsee the edit
Confirmed sinceAnthropic's documentation has since written up tool.check, on Claude Code changelog.* Added `agentId` to the `tool.check` event of plugin hooks, so a hook can tell a subagent's permission check from the main session'schangelogsee 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 doubtWhat the plugin check does with the hook's ask is not clear.
Anthropic's documentation agreesAnthropic's documentation has since written up tool.check, on Claude Code changelog.