The Gemini API can now let agents access tools on demand from a catalog of hundreds, instead of loading every parameter schema into every request. As more tools are connected, controlling cost and latency becomes a product-design issue rather than an implementation detail.
This preview feature is available through Gemini's Interactions API and supports Gemini 3.6 and later models, including the entire Gemini 4 family. Google is not charging separately for it, but it changes one of the most overlooked engineering costs in connecting agents to enterprise systems: who bears the context cost of tool documentation, and when should it be loaded?
What this is
With traditional Function Calling—the mechanism through which developers let models invoke software capabilities through structured parameters—systems must provide the model with every tool's name, parameter types and validation rules. Once the number of tools reaches dozens or hundreds, input tokens increase, time to first response slows, and the model may select the wrong tool.
Tool Retrieval takes a direct approach: developers mark tools with defer_loading, and the initial request exposes only their names and brief descriptions. After the model determines that a specific tool is needed, it retrieves and loads the complete parameter schema before calling the tool as usual. The entire process remains within the same API request and is recorded as interaction steps, allowing developers to inspect what the model retrieved and why it selected a particular tool.
It is especially useful for teams integrating MCP (Model Context Protocol, an open protocol that lets AI applications connect to external tools and data sources). When a large MCP service exposes dozens of interfaces, the entire catalog can be set to deferred loading, eliminating the need to manually maintain a shortlist. Tool retrieval can also be handled by the developer's own backend, filtering available tools according to each user's permissions.
Industry view
We believe the feature's real value lies not merely in saving tokens, but in moving “tool routing” out of repetitive infrastructure work in every agent project and into the model platform. For teams maintaining multiple business systems and MCP services, it could eliminate the cost of building custom retrieval indexes, reranking results and adapting to cache invalidation. For applications with only five or six tools that are nearly all needed on every task, however, on-demand retrieval may introduce fixed overhead and deliver little benefit.
The risks are equally clear. Tool Retrieval is still a preview and supports only the newer Interactions API. Each request can contain only one retrieval definition, while client-side execution adds another network round trip. More importantly, the model must now find tools using only their names and descriptions. If naming is ambiguous or documentation is careless, hiding clues previously embedded in parameter definitions can cause errors earlier in the process. Google also stresses that savings are more likely only when the unused parameter schemas substantially outweigh the portion actually loaded, meaning teams must still validate the feature with production traffic.
Impact on regular people
For enterprise IT: As organizations connect more customer-service, order and ticketing tools, response speed and inference bills no longer need to deteriorate in lockstep with the number of interfaces. But that requires tool catalogs, access controls and documentation quality to become formally governed concerns.
For individual professionals: Professional software will be able to coordinate multiple systems more naturally, reducing the need for manual lookups and copying information. Agents that issue refunds, modify records or perform similar actions, however, will still require enterprise approval and audit boundaries.
For the consumer market: Assistants equipped with many external services should complete tasks more smoothly. Yet on-demand search may also select the wrong entry point, making confirmation and reversibility for consequential actions an important dividing line in the product experience.