Follow Discord
Sweep 12 Nov 2026 · 23:00Z Build v2.1.323 540 read Stable v2.1.311 Latest v2.1.323 Next v2.1.323 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.323 ·

SDK messages can now replace earlier ones after a tool call fails to parse

In the SDK message stream, a message can now replace earlier ones after an unparseable tool call, including your own messages

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

The Agent SDK is a toolkit for building your own programs on top of Claude Code. It sends a stream of messages. One field on a message names earlier messages that it replaces. That field's description now covers a new case: a response whose tool call could not be parsed. A tool call is a single action Claude asks to take. Before, it covered only the fallback after a refusal. The messages it replaces can now include user messages as well.

Separately, Claude Code now also removes worker-only fields from a control response when that response has an error_code field.

Why

A program that displays the stream should remove every message that has been replaced, including user messages. Otherwise it can go on showing messages that no longer apply.

See this entry in the whole of v2.1.323 →

Feedback