Prompt Recipes
Claude Streaming Tool Use: Recipes That Ship (2026)
Streamed tool arguments arrive as partial_json fragments, not JSON. Four copy-paste recipes to buffer by index, parse once, and stop corrupting tool calls, on Claude and OpenAI.
4 min read130