Gemini's Tool Retrieval Means You Can Stop Pruning Your Agent's Tool List by Hand

Google launched Tool Retrieval in the Gemini API on 19 November, in preview in the Interactions API. It fixes a problem every agent builder meets once the tool count grows. Each tool's full parameter schema is sent with every request, so fifty tools means paying for fifty schemas on every turn, and the model gets worse at choosing as the list gets longer.
With Tool Retrieval you add a tool_search tool and set defer_loading to true on the tools you want held back. The model searches for what it needs and the API loads that one schema. Google runs the search on its servers, so there is no index to build or host. It works with Gemini 3.6 and later models.
Our advice is to split your tools in two. The handful an agent uses on nearly every task stay loaded up front. Everything else is deferred. Google suggests the same split.
Two details make this more useful than it first appears. It works with remote MCP servers, so you can connect a large server with a single flag and avoid listing its tools one by one. And the search appears in interaction.steps, so you can see which tools the model looked for.
That second point is where the real work is. When a deferred tool is not found, the cause is almost always a vague name or a thin description. Retrieval makes good tool descriptions matter more, not less. Write them the way you would brief a new colleague.