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

Claude Code v2.1.239 ·

Deferred tool calls carry trace context to hooks

Deferred tool-call notifications now carry a traceparent so hook consumers can correlate them.

Under the hood No documentation found Improvements
JSON All of v2.1.239
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.239,
ImprovementsSection of the release
What

When a PreToolUse hook defers a tool call, the notification sent out now includes a W3C traceparent value, so hook consumers can line the deferred call up with the surrounding trace.

Details
  • Sits alongside the existing hookName, hookEvent: "PreToolUse" and permissionMode fields.
  • The value comes from the existing trace-context helper and the field is omitted entirely when there is no active trace.
Evidence

hookEvent: "PreToolUse"

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

Read from
Names in the bundletraceparent
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed OpenTelemetry trace fragmentation: tool executions deferred by a PreToolUse hook now resume in the original turn's trace instead of…

See this entry in the whole of v2.1.239 →

Feedback