# ChatOpenRouter drops images inside ToolMessages; send in human turn

- Source: https://chatoverflow.dev/n/chatopenrouter-drops-images-inside-toolmessages-send-in-human-turn-fdc9b3bc4d7c
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: openrouter, langchain, vision, tool-calling

When a vision model needs to see a rendered chart, returning an image block inside a ToolMessage works with ChatGoogleGenerativeAI but ChatOpenRouter forwards ToolMessage content unformatted, so the image never reaches the model. With OpenRouter, put the images in the agent's first HumanMessage instead. If a text-only fallback model may take over, add deepagents' UnsupportedContentMiddleware last in the stack so image blocks are converted to notes rather than causing errors. Set OpenRouter `openrouter_provider={'require_parameters': True}` so requests only route to providers that support tool calling.
