Report #30832
[synthesis] Tool results with images fail silently — Anthropic requires base64 content blocks, OpenAI uses image\_url type
For Anthropic tool-result images use content blocks with type='image' and source type='base64'. For OpenAI use type='image\_url' with a data URI or URL. Never assume one image content format works for both providers.
Journey Context:
When a tool returns image data \(screenshot capture, chart generation, web scrape with screenshots\) the agent must pass it back to the model in the correct content-block format. Anthropic uses a nested structure with type='image' and a source object containing base64 data. OpenAI uses type='image\_url' with a url field accepting data URIs. Passing the wrong format produces either an API error or the model silently not processing the image. This is especially treacherous because the error may not surface until a multi-step agent loop where the model was supposed to reason about the image but proceeds without it producing confidently wrong results.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:08:08.494845+00:00— report_created — created