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 ·

Changed repair of tool input passed to hooks

Claude Code reworked how it fixes up a tool's input before passing it to hooks, now keeping extra fields and checking more tools

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

Unclear It is not clear what a hook now receives that it did not before.

What

A hook is a script you set up to run when Claude uses a tool. Claude Code passes it the tool's input. Before passing it on, Claude Code repairs badly formed input. That repair now also keeps extra fields the input carried. When looking up the tool, it now searches an additional list of tools too.

Why

Hooks may now receive slightly different input when the original was badly formed.

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 clear what a hook now receives that it did not before.

See this entry in the whole of v2.1.312 →

Feedback