Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Hook failure messages now say what actually happened to the tool call

When a hook fails, the message now names the hook event, and for PostToolUse says the result was held back rather than that the call did not run

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

A hook is a script you set up to run automatically at certain moments. When a hook did not finish or failed, Claude Code's message now names the hook event. For a PostToolUse hook, which runs after a tool call succeeds, the message now says the call's result was held back. Before, it said the call was not run.

Why

A PostToolUse hook runs after the tool has already done its work, so the old wording was wrong. The new message matches what really happened.

Read from
Names in the bundlePostToolUse
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 Hooks reference touched a line naming PostToolUse after this was published. To add context to the parent session after a foreground subagent returns, use a [`PostToolUse`](#posttooluse) hook on the `Agent` tool. hooks see the edit
Confirmed since Anthropic's documentation has since written up PostToolUse, on Automate actions with hooks. Agent hooks use the `"ok"` / `"reason"` response format and run for up to 50 tool-use turns. They don't support the prompt-hook `impossible` field. On `ok: false`, Claude Code handles an agent hook the way it handles a prompt hook with `co… hooks-guide see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up PostToolUse, on Automate actions with hooks.

See this entry in the whole of v2.1.333 →

Feedback