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.
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 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.hookssee the edit
Confirmed sinceAnthropic'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-guidesee 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.