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

Tool results changed by a hook are now the ones clients see

When a hook rewrites a tool's result, Claude Code now records the rewritten version in the session and shows that version

You'll notice Bug Fixes
JSON All of v2.1.334
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.334,
Bug FixesSection of the release
What

A hook is a command you set up to run automatically at certain moments, for example after Claude uses a tool. A tool call is one action Claude takes, such as editing a file.

For tool calls that hooks may act on, Claude Code now adds them to the session record as they happen and keeps track of their results. When a hook rewrites a result, the rewritten version is the one shown to the program displaying the session. Before, the result was always rebuilt from the tool's own output. This does not apply when hooks are turned off in settings.

The way Claude Code reads the paths a hook asks to watch now uses a shared step.

Why

A hook can now change the tool result that clients display, not just observe it.

See this entry in the whole of v2.1.334 →

Feedback