On November 19, 2026 Google introduced Tool Retrieval in the Gemini API, a Preview feature in the Interactions API. Google says it lets agents keep a large tool library on standby and load a tool’s full parameter schema only when a task needs it, to cut input tokens and latency and keep tool choice accurate as the list grows.
What to know
- How to turn it on: add
{"type": "tool_search"}to yourtoolslist and set"defer_loading": trueon each function you want held back. Tools you use often can stay loaded as normal. - What the model sees: the name and description of each deferred tool, but not its parameter schema until it searches for it. A request then shows a
tool_search_call, atool_search_resultand thefunction_callininteraction.steps, which Google says helps with debugging. - No index to build: by default Google runs the search on its servers. Deferred schemas stay out of the start of the prompt, so the cached prefix stays stable across turns.
- MCP servers: setting
defer_loading: trueon anmcp_servertool makes every tool on that server load on demand. - Your own search: declare
tool_searchwith"execution": "client"to use your own registry, embedding index or per-user permission filter. Google notes this adds one round trip per search, and tools can be added mid-conversation. - Price: no separate charge. Turning on
tool_searchadds a small fixed block of input tokens, and each schema the model loads is billed as input for the rest of the conversation. Google gives no savings percentage and suggests measuring on your own traffic. - Models: Gemini 3.6 and later, including all Gemini 4 models.
Why it matters
Agents with dozens of tools waste tokens describing every one on every turn, and they pick the wrong tool more often. Deferred loading makes clear tool names and descriptions even more important, because that is all the model sees before it searches. Write each description as one plain sentence about when to use the tool. Our guides to writing an agent skill and agent permissions cover the rest, and the Gemini page lists Google’s other developer updates.
Source: Google blog. We summarise in our own words; check the source for the full details.
Contribute your creativity