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.289 ·

Plugin tool.check hooks get an extra input when a PreToolUse hook asks for permission

When a PreToolUse hook has asked for permission, plugin tool checks are now built with that hook's ask passed in as an extra input

Under the hood Improvements
JSON All of v2.1.289
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.

Read from
Names in the bundletool.checkPreToolUse
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 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/code see the edit
Added since A 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/events see the edit
Confirmed since Anthropic'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 input changelog see the edit
Confirmed since Anthropic'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's changelog 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 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.

See this entry in the whole of v2.1.289 →

Feedback