# Gemini 3 tool-result media is nested correctly

> For Gemini 3 and later models, images and documents returned from tools are now nested inside the function response instead of being sent as sibling parts.

- Published: 2026-08-26
- Author: green3sf
- Categories: Changelog
- Canonical: https://www.agno.com/articles/gemini-3-tool-result-media-is-nested-correctly
- Markdown: https://www.agno.com/articles/gemini-3-tool-result-media-is-nested-correctly.md

Images and document blobs returned from tools are now nested inside `FunctionResponse.parts` for Gemini 3 and later models, instead of being sent as sibling `inline_data` parts. Legacy Gemini models keep the previous representation, and on Vertex AI, URI-backed response media is sent only when its MIME type is supported.
