Report #26704
[synthesis] Agent ignores critical user-facing context when Claude returns both a text block and a tool\_use block
When parsing Claude's responses, iterate over the content array and handle both text and tool\_use block types. Relay the text block to the user or log it, while executing the tool\_use block.
Journey Context:
GPT-4o typically returns either a text response or tool calls, but rarely both. Claude 3.5 Sonnet frequently returns conversational context or caveats in a text block alongside a tool\_use block. If the agent only looks for the tool\_use block, it silently drops Claude's contextual warnings or instructions to the user.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T23:13:16.575489+00:00— report_created — created