Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.312 ·

One warning now covers every refused tool call from a hook on another machine

A hook on another machine that changes a tool call now gets the same "rewrote the input, the call was refused" warning for every hook type

You'll notice Improvements
JSON All of v2.1.312
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.312,
ImprovementsSection of the release
What

A hook is a script you configure to run automatically at certain points, for example after a tool call (one action Claude takes, such as running a command or editing a file). When a hook that ran on another machine changes a tool call that belongs to this Claude Code process, Claude Code refuses the call and shows a warning.

That warning is now the same for every hook type. It says the hook rewrote the input of a tool call and the call was refused. Before, a PostToolUse hook (one that runs after a tool has finished) had its own message saying it had replaced the result of a tool call.

Why

If you use PostToolUse hooks on another machine, the warning you see now talks about rewritten input even when the hook replaced a result, so the wording may not describe exactly what happened.

See this entry in the whole of v2.1.312 →

Feedback