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

In-app help for after-tool hooks lists different input fields

The hook help text for PostToolUse now names the real input fields, and PostToolUseFailure's text no longer mentions error_type and is_timeout

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

Unclear It is not known whether the hook still receives error_type and is_timeout, or only stopped describing them.

What

Hooks are your own scripts that Claude Code runs at set points. PostToolUse runs after a tool call succeeds and PostToolUseFailure after one fails. Each receives JSON describing the call. The in-app help describing that JSON changed:

  • PostToolUse now reads "Input to command is JSON with tool_name, tool_input, tool_response, and tool_use_id." It used to say the fields were "inputs" (tool call arguments) and "response" (tool call response).
  • PostToolUseFailure now lists only tool_name, tool_input, tool_use_id, error and is_interrupt. It used to also list error_type and is_timeout.

These are changes to the help text only. Whether the PostToolUseFailure input itself changed was not checked.

Why

People writing hooks were being given the wrong field names for PostToolUse. If your PostToolUseFailure hook reads error_type or is_timeout, the help no longer lists them, so test that they are still present before relying on them.

Read from
Names in the bundlePostToolUseFailureerror_typeis_timeout
What the documentation says
Documented inapi/api/compliance
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.

Confirmed since Anthropic's documentation has since written up PostToolUseFailure, on Hooks reference. For redaction or transformation use cases, intercept at `PreToolUse` for outbound tool inputs and `PostToolUse` for the results of successful calls. `PostToolUseFailure` can't rewrite a result, so it can't redact a failing command's output. hooks 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 doubtIt is not known whether the hook still receives error_type and is_timeout, or only stopped describing them.
Anthropic's documentation agreesAnthropic's documentation has since written up PostToolUseFailure, on Hooks reference.

See this entry in the whole of v2.1.327 →

Feedback