Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.31 ·

Streamlined SDK Output Types

Entry
JSON All of v2.1.31
EntryKind: in v2.1.31,
ChangesSection of the release
What

Two new message types for SDK consumers that provide a simplified view of Claude's output, stripping away thinking blocks and tool call details.

Details
  • streamlined_text -- preserves the text content from assistant messages but removes thinking and tool_use blocks
  • streamlined_tool_use_summary -- replaces verbose tool_use blocks with a human-readable summary string (e.g., "Read 2 files, wrote 1 file")
  • These message types are filtered out in the normal CLI transport layer and are intended for SDK streaming consumers
  • Marked as @internal in the schema descriptions
Evidence

New Zod schema types (search for "streamlined_text" and "streamlined_tool_use_summary")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.31 →

Feedback