Google adds Tool Retrieval to the Gemini API so agents load tool parameters only when needed
Google released Tool Retrieval as a preview in the Gemini API's Interactions API. Developers add a tool_search tool to the request and mark tools they want loaded later with defer_loading: true; the model then sees only those tools' names and descriptions, and their parameter schemas stay out of context. When the model asks for a tool by name, the API loads the full parameters within the same request and completes the function call. Retrieval runs on Google's servers, so no index has to be built, and it works with prefix caching and remote MCP servers. There is no separate charge: billing follows the standard token price of the model used, but tool_search itself always adds a small fixed block of input tokens, and loaded schemas keep being billed in later turns. Tokens are only really saved when more tools are left unloaded than loaded. The feature supports only Gemini 3.6 and later models, including all Gemini 4 models. Google gave no specific figures for token savings or accuracy.
The Gemini API's Interactions API is Google's interface for agent use cases, where the model can search tools, load parameters and issue a function call within a single request. Previously, when developers connected many tools, every request had to carry the full parameter definitions of all of them, and more tools meant higher input tokens and latency. Tool Retrieval supports Gemini 3.6 and later models, including Gemini 4 Hydrogen, released on November 12; Zhidaily's daily briefing reported that day that the model was already available in the Gemini API at $1.50 per million input tokens and $7.50 per million output tokens.
Developers building agents with many tools can keep frequently used tools always loaded and set long-tail tools to load later, with code changes limited to adding one tool and a few flags. If you already have your own tool registry or need to filter by user permissions, you can set tool_search to run on the client, at the cost of one extra round trip per search, but this lets you add new tools mid-conversation. Before launch, it is worth comparing token bills against your own real traffic, because the fixed overhead and already-loaded parameters offset part of the savings.