Streaming tool-call JSON replayer
Paste saved Claude Messages events as JSONL, a JSON array or SSE. Step through the capture to see when each tool-input object first becomes parseable.
Inspect saved streaming fragments in your browser. No tools are executed.
How it works
The replayer concatenates partial_json strings in arrival order, separately for each block index. It attempts JSON parsing after every fragment and records the first complete object. A block-stop event marks the final input. A max_tokens stop reason identifies possible output-limit truncation.
Use Start, Previous, Next and End to inspect event prefixes. Character counts are JavaScript UTF-16 code units; they are not token counts or byte counts. There is no rounding.
Worked examples
Two fragments make one object
The initial seven-event example has 1 tool call and 2 fragments. {"city": followed by "Paris"} first becomes a complete object at event 4.
Output-limit cutoff
Keep only the first fragment, then add message_delta with stop_reason max_tokens and message_stop. The replay reports 1 call with output-limit truncation / invalid input.
Capture completeness
Missing message_start, message_delta or message_stop events mark an incomplete excerpt. Every content block, including text and thinking, must have a stop. Orphan deltas, duplicate block starts and events after message completion receive findings. Missing content_block_stop remains a finding even when the assembled object parses. Unknown event types are retained as review findings. This tool does not diagnose network buffering or measure latency without timestamps.
Frequently asked questions
Is a JSON parse error during streaming a failure?
Does parseable JSON mean I can execute the tool?
Can I paste a Bedrock binary event stream?
Does it repair invalid JSON?
What are the local limits?
Sources
- Claude — Fine-grained tool streaming (checked 2026-11-14)
- Claude — Streaming Messages: input JSON delta (checked 2026-11-14)
Last reviewed 2026-11-14; next review due by 2026-12-14. The method is written out above so you can check our math.