Claude Code v2.1.228 ·
Streamed tool inputs serialize correctly once complete
Completed tool inputs no longer show up as empty when written out.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Tool CallsArea: what it touches
Bug FixesKind: in v2.1.228,
Bug FixesSection of the release
What
A tool call's assembled input is now a normal enumerable property, so a finished tool input serializes as expected rather than appearing empty.
Details
- Partial JSON chunks are accumulated by a shared helper instead of a hand-rolled hidden buffer property on each delta.
- At the end of a content block the accumulated
input is redefined as enumerable, writable and configurable.
Evidence
input_json_delta
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.228 →