Google launched Tool Retrieval in the Gemini API on Nov 19, 2026, in preview in the Interactions API (Google). An agent keeps the name and description of every tool in context and loads a tool’s parameter schema only when the task needs it.
Note. Tool Retrieval has no separate charge. It works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API (Google).
What happened
A parameter schema is the part of a tool definition that lists the inputs the tool takes. To turn the feature on, a developer adds a tool_search tool to the request and sets defer_loading: true on the tools to hold back (Google). This is shortened from Google’s example:
tools = [
{"type": "tool_search"},
{"type": "function", "name": "issue_refund",
"description": "Refund an order to the original payment method.",
"defer_loading": True, "parameters": {...}},
]When the model needs a deferred tool, it asks for it by name, the API loads the full schema, and the model calls the function, all inside the same request. The three steps appear in interaction.steps, which Google says helps show which tools the model considered (Google).
Google runs the search on its servers by default, with no index to build or host. Teams with their own tool registry, embedding index or per-user permission filter can run the search in their app by declaring tool_search with "execution": "client", which adds one round trip per search and lets them add tools mid-conversation. Setting defer_loading: true on a remote MCP server tool (a server that offers a set of tools to the model) loads every tool on that server on demand (Google).
Why it matters
Google says sending every full schema on every request inflates input token counts, adds latency and lowers tool-selection accuracy as the list of tools grows. It also says deferred schemas stay out of the start of the prompt, so the cached prefix stays the same from turn to turn (Google).
Turning on tool_search adds a small, fixed block of input tokens, and each schema the model loads is billed as input for the rest of the conversation. Google says developers save tokens when the schemas never loaded outweigh the ones that are, and tells them to measure it against their own traffic (Google). The post gives no measured figures for token savings, latency or accuracy, and does not say how long the preview lasts.




