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

PostToolBatch hook requests from SDK hosts get the same handling as PreToolUse

Claude Code now handles PostToolBatch hook requests from programs that embed it the same way it handles PreToolUse hook requests

Under the hood Internal Changes
JSON All of v2.1.336
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.336,
Internal ChangesSection of the release

Unclear It is not clear what this handling actually does with a PostToolBatch hook request.

What

A program can run Claude Code inside itself through the SDK (the developer kit for building on Claude Code). The two then exchange control requests, which are messages that pass instructions back and forth. Some of these requests ask the host program to run a hook, which is a script of your own that runs at a set point in a session.

Claude Code now handles a hook request for the PostToolBatch event the same way it already handled hook requests for PreToolUse and messages from MCP servers. PostToolBatch runs after a full batch of parallel tool calls finishes and before the next model call. Before this change, only PreToolUse hook requests and MCP messages were handled this way.

Why

Support for PostToolBatch hooks is growing. Developers whose programs embed Claude Code may now see these requests treated differently from before.

Read from
Names in the bundlePostToolBatchPreToolUse
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 this handling actually does with a PostToolBatch hook request.

See this entry in the whole of v2.1.336 →

Feedback