Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.299 ·

Plugin hook denials now carry a reason

Default deny responses for plugin hooks such as tool.check and agent.spawn now include a reason alongside the decision

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

Plugins (add-on packages for Claude Code) can register hooks, which are small handlers Claude Code runs at certain moments. The default "deny" response for several of these hooks now takes a reason and passes it along with the decision. For example, a denied tool.check now gives back a decision of "deny" together with a reason.

This covers these hook events:

Why

When a plugin hook blocks something, the block can now explain why, instead of being a bare refusal.

Read from
Names in the bundletool.check
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 tool.check after this was published. That precedence covers hooks in settings files and in a plugin's `hooks/hooks.json`. A [mod](/docs/en/plugins/mods/overview) you install that handles the [`tool.check`](/docs/en/plugins/mods/events#approve-or-refuse-a-tool-call-before-the-… permissions see the edit
Confirmed since Anthropic's documentation has since written up tool.check, on Automate actions with hooks. A [mod](/docs/en/plugins/mods/overview) you install that handles `tool.check` can approve a call that your `PreToolUse` hook blocked, unless the hook is in managed settings. In plan mode, the mod can approve such a call when it's read-only… hooks-guide 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 tool.check, on Automate actions with hooks.
Anthropic's release notes agreeAdded $.prompt.media so a prompt.submit hook of a mod installed by managed settings can read the bytes of an image or document attached to…

See this entry in the whole of v2.1.299 →

Feedback