Gemini's Tool Retrieval Preview Hides Tool Schemas Until Needed, but Loaded Ones Can't Be Unloaded
Software / news
Gemini's Tool Retrieval Preview Hides Tool Schemas Until Needed, but Loaded Ones Can't Be Unloaded
Google's Nov. 19 preview lists no token-savings figure, and its docs and a PPC Land write-up disagree on which models work.

Google put Tool Retrieval into preview in the Gemini Interactions API on Nov. 19, 2026, letting an agent keep tool parameter schemas out of the prompt until the model asks for one. It carries no separate charge, and Google's announcement gives no figure for how many tokens it saves.
Google's post is written by Lucia Loher, a product manager on the Gemini API, and Nora Kassner, a research scientist at Google DeepMind. It says the feature is meant to "reduce input tokens and keep tool selection accurate as your agent scales."

How the 2 modes work
In server-side mode a developer adds a tool of "type": "tool_search" and sets "defer_loading": true on each function to hold back. The model still sees every deferred tool's name and description. It does not see the parameter schema until it searches, the API loads the schema, and the model emits a function_call.
Setting defer_loading on an mcp_server tool defers every tool that server exposes. That matters for agents wired to large remote servers, such as the Snap gateway that fronts 65 MCP servers.
Client-side mode declares tool_search with "execution": "client". The app returns matching schemas itself, at the cost of one extra round trip per search. Google's post says tools need not be declared up front in that mode, so new ones can appear mid-conversation.
What the docs say you cannot do
The Tool Retrieval docs are plainer than the blog post about the limits. They require the v1beta API version and say the surface "may change before general availability."
| Limit in the docs | Detail |
|---|---|
| API | Interactions API only; generateContent is unsupported |
| Search entries | One tool_search per request |
| Mixing modes | Server-side and client-side cannot be combined |
| Unloading | Loaded tools stay in context for the conversation |
| No match | Returns text, not a structured error |
The unloading rule is the one that decides cost. Each schema the model loads is billed as input for the rest of the conversation, the same as a tool declared up front. Google's post says savings depend on how many schemas are never loaded, and tells developers to measure against their own traffic.
The docs also say not to defer tools named in system instructions or tool outputs, because the model may call them without searching first. Core tools used on most turns should stay loaded.
Where the numbers come from
PPC Land, in a piece by Luís Rijo, wrote that Google's documentation puts each deferred tool's listing at about 26 tokens in early testing. On that basis PPC Land calculated 100 deferred tools at roughly 2,600 input tokens a request, or about $3.90 per thousand requests at the $1.50 per million input rate it cites for Gemini 4 Hydrogen. That is PPC Land's arithmetic, not a Google figure.
The docs page as read on Nov. 27 does not contain the 26-token number. It says only that deferred tools add a name and a short description, and that schemas are not billed until loaded.
The two sources also split on models. PPC Land wrote that the documentation lists four models and omits Gemini 4 Carbon. The docs page as read on Nov. 27 lists six: gemini-4-carbon, gemini-4-neon, gemini-4-hydrogen, gemini-4-argon, gemini-3.8-flash and gemini-3.6-flash. The blog says "Gemini 3.6 and later, including all Gemini 4 models." The docs may have been updated after PPC Land read them.
- Anthropic (Nov. 2025)85 %
- OpenAI (Mar. 2026)47 %
Source: PPC Land, Nov. 2026, citing Anthropic and OpenAI figures; Google published none
PPC Land said Anthropic introduced a similar design in November 2025 with an 85% reduction in its own tests, and OpenAI followed in March 2026 with 47%. Both are vendor tests. Google has published no comparable number, and the post gives no size for the "small, fixed block" of tokens that enabling tool_search adds.
Who is better off
A team with 8 tools gains little, since each server-side search adds a billed model pass over the full context, as PPC Land wrote. A team pointing one agent at several MCP servers, as Google's own Workspace servers now allow, is the case the feature targets.
The preview has no general-availability date. Google says feedback goes to discuss.ai.google.dev, and the docs warn the API surface may change before that date is set.
Sources
More in Software
- 01Tabernetes Makes Browser Tabs Kubernetes Nodes, Capped at One CPU and 256 MiBA single-author MIT project registers each open tab as a node, then argues in its README about what a tab can and cannot run.
- 02SessionGraph Indexes 14 Coding Agents' Local History, and Claude Code Keeps 30 Days by DefaultThe MIT desktop app says conversations stay local and publishing sends metadata only, but its friend comparison is undocumented.
- 03Prospero, a 250-Star Native C++ Coding Agent, Ships Its Own Bash and No Default ProviderA public-domain harness built on Dear ImGui runs headless or windowed, but the docs we read are silent on sandboxing.
- 04Pop!_OS 26.04 LTS Ships on Kernel 7.2.15, but 24.04 Users Wait Until December to UpgradeSystem76's Nov. 24 release adds Constellations themes and drawing-tablet tilt, and tells people who want all of it to reinstall.