Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

SDK tool-result streaming can attach agentId/durationMs for Task-like tools

Streamed tool results for the Task tool can now include an agent ID and duration

Under the hood Internal Changes
JSON All of v2.1.280
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.280,
Internal ChangesSection of the release
What

When tool-result events are streamed through the SDK for the Task tool (used to launch subagents) and one other tool, they can now be enriched with an agentId (looked up via a new mapper) and a durationMs value pulled from the tool result, when those are present.

Why

This lets SDK consumers see which agent produced a streamed result and how long it took, useful for tracking subagent work as it streams in.

Read from
Names in the bundleagentIddurationMs
What the documentation says
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up durationMs, on Agent SDK reference - Python. "durationMs": int, # Time taken to run the search, in milliseconds agent-sdk/python see the edit
Confirmed since Anthropic's documentation has since written up agentId, on Agent SDK reference - TypeScript. | `parent_agent_id` | `string \| null` | For messages from a [nested subagent](/docs/en/sub-agents#let-subagents-spawn-their-own-subagents), the `agentId` of the subagent that spawned it. `null` for main-session messages, messages from top… agent-sdk/typescript see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up agentId, on Agent SDK reference - TypeScript.

See this entry in the whole of v2.1.280 →

Feedback