Google Previews Tool Retrieval for Scalable Gemini API Agents
Google has introduced Tool Retrieval in preview for the Gemini Interactions API. The feature lets agents load tool parameter schemas only when needed, reducing unnecessary input tokens and helping preserve tool-selection accuracy as tool libraries grow.
Google’s new Tool Retrieval preview lets Gemini API agents discover and load tool schemas on demand instead of placing every full schema in every prompt. For visual creators, the practical opportunity is more scalable creative agents that can choose among many specialized image and video workflows without carrying all tool definitions in context.

What happened
On November 19, 2026, Google announced that Tool Retrieval was available in preview through the Gemini Interactions API. According to the primary source, the feature is designed for agents connected to dozens or hundreds of tools, where repeatedly sending every parameter schema can increase input tokens and latency while reducing tool-selection accuracy.
What changed
Developers add a tool_search tool and mark tools for deferred loading with defer_loading: true. Gemini can still see each deferred tool’s name and description, but its parameter schema stays outside the context until required. The search request, returned schema, and resulting function_call appear in interaction.steps within the same API request.
Google says server-side retrieval requires no index to build or host. Frequently used tools can remain preloaded, while long-tail tools are deferred. The feature also supports prefix caching and remote MCP servers. For custom registries, embedding indexes, or permission filters, client-side retrieval is available through "execution": "client".
Creator impact
Source fact: Tool Retrieval changes agent infrastructure, not the underlying quality of generated images or videos. Its value emerges when a creative assistant must select from a large catalog of narrowly defined operations.
AiPix analysis: a visual workflow agent could keep common actions immediately available while retrieving less frequent schemas only when a request requires them. This may make expanding an agent’s workflow catalog more manageable, particularly when routing requests across creation, editing, portrait, ID photo, wedding, background-removal, and enhancement paths.
Limitations
Tool Retrieval is a preview feature. Client-side retrieval adds one round trip for each search because the application performs the lookup. It also has no separate charge, but tool_search adds a small fixed input-token block, and every loaded schema is billed as input for the rest of the conversation. Savings occur only when schemas that remain unloaded outweigh those retrieved, so Google recommends measuring performance against actual traffic.
Support is limited to the Interactions API with Gemini 3.6 and later models, including all Gemini 4 models. Google does not provide benchmark numbers in the supplied announcement.
An honest AiPix use case
AiPix could use this pattern at the agent-orchestration layer: keep high-frequency acquisition tools such as 0-Credit browser background removal and enhancement readily accessible, while retrieving schemas for specialized portrait, ID photo, wedding, image-generation, or video workflows when relevant. This is a proposed architecture based on Google’s mechanism, not evidence that AiPix has implemented or tested Tool Retrieval.
Sources
- Google 在 Gemini API 推出 Tool Retrieval 预览Google Blog:AI
Continue in AiPix
Turn this update into a practical image or canvas workflow.
Open AI Canvas