FOR THE BUILDERS, THE MAKERS & THE SMALL TEAMS WITH BIG IDEAS ✳
AI Agents & Automation · News Analysis

Gemini API Tool Retrieval: What Small Teams Should Evaluate Before Deferring Tool Schemas

Google introduced Tool Retrieval in the Gemini API on November 19, 2026. The preview lets agents load tool parameter schemas when needed, including schemas from remote MCP servers. For small teams maintaining large tool libraries, it offers a concrete experiment: determine whether deferred loading reduces context overhead while preserving correct tool selection across complete conversations.

agents-automation: Official update → Team impact → Adoption decision. Editorial workflow illustration.
Source-based News Analysis. Announcement published November 19, 2026; official sources accessed November 20, 2026. No API calls, MCP integrations, or performance tests were run. Feature behavior is attributed to Google’s documentation; evaluation steps are editorial proposals. Preview documentation may change.

1. The preview changes when schemas enter context

Google’s announcement describes a familiar agent problem: supplying full definitions for dozens or hundreds of tools can consume substantial context before useful work starts. Tool Retrieval leaves selected parameter schemas out of the initial context and loads them when the model requests them.

Google presents this as a way to reduce input tokens and latency while maintaining accurate tool selection. Those are vendor claims, not results established by this article. The practical outcome depends on your schema sizes, the tools each task needs, and how conversations develop.

The setup documentation specifies the Interactions API and the v1beta API version. It explicitly excludes generateContent and warns that the preview API surface may change. Teams using another endpoint should include integration work in their evaluation.

2. Deferred tools remain discoverable

For server-side retrieval, Google documents adding {"type":"tool_search"} to the tools array and setting defer_loading: true on selected functions. The model still receives their names and descriptions. It requests a tool by name, the API supplies its schema, and the model produces the function call.

Schema retrieval happens inside the same API request. For an ordinary application function, your code still executes the function and returns its result. Retrieval does not remove that part of the application’s job.

This makes names and descriptions important evaluation inputs. Our recommendation is to distinguish similar capabilities clearly before testing. A library containing several vaguely described lookup functions may leave the model with a difficult selection problem even when their detailed schemas are deferred. Keep frequently used functions loaded initially and evaluate deferral for less frequently used tools, an approach Google also suggests.

3. Start with the retrieval mode your workflow needs

Server-side retrieval searches tools declared in the request. Google says it requires no separately hosted search index. Setting defer_loading: true on an mcp_server entry defers all tools exposed by that server, which makes the feature relevant to agents connected to large MCP tool collections.

Client-side retrieval serves a different need. With execution: "client", your application performs the search and returns matching tool definitions. Google documents one additional round trip per search and allows tools that were not declared initially to arrive through those results.

Our editorial recommendation is to begin with server-side retrieval for a fixed library. Consider client-side retrieval when an existing registry or changing tool inventory requires application-owned lookup. Our MCP workflow guide provides background for separating tool discovery from the surrounding workflow.

4. Check the second turn before expanding the pilot

A consequential detail appears in the documentation: the API does not carry tool declarations between requests, even when you use previous_interaction_id. Google instructs developers to resend the complete tools array, including the search entry, deferred tools, and tools loaded initially. Deferring schemas from model context does not mean omitting their declarations from later requests.

Applications that manage conversation history themselves have another requirement. They must preserve returned tool_search_call and tool_search_result steps unchanged, including their signatures and ordering. Google documents failures when retrieval context is missing and warns that older SDK versions can drop fields they do not recognize.

Our proposed first integration check therefore spans multiple turns: request a deferred function, return its result, and then request a different function. Inspect the history and declarations at each transition. A successful initial response alone cannot establish that the conversation integration works.

5. Compare complete tasks, including difficult selections

Build a small evaluation set from recurring tasks. Include a common task using one familiar function, an uncommon task requiring a rarely used function, and an ambiguous request that could plausibly match several tools. Add a longer conversation that eventually needs several schemas.

Run the same tasks with static loading and deferred loading, keeping the model, tool descriptions, and task inputs consistent. Record total input tokens across the conversation, elapsed time, selected functions, argument correctness, completed outcomes, and any recovery attempts. Repeat enough cases to see whether an apparent improvement survives normal variation.

Google documents fixed input overhead from enabling tool search, and loaded schemas remain part of subsequent conversation context. Consequently, the size of the full library alone cannot establish a benefit. Our reliable AI workflow guide can help define acceptance criteria before comparing results. These are proposed checks; we have not performed them.

6. Adopt only where deferred loading proves useful

Tool Retrieval is most relevant to evaluate when an agent has many available functions but usually needs only a few. A small, stable tool set offers less obvious reason to add retrieval behavior. Google’s documentation likewise positions static loading as suitable for smaller libraries.

For a small team, a reasonable adoption threshold is lower measured context use with acceptable task completion and response time. Set those criteria before the pilot. Keep static loading available while evaluating the preview, and stop expansion if missing schemas, incorrect selections, or conversation failures create more work than the change removes.

The announcement gives developers a new way to manage tool context. Whether it improves a particular agent remains a workload-specific question that requires measurements across actual tasks.

Sources & further reading

Primary references used for product and technical information. Features and terms can change; check the provider before committing.

No affiliate links are included in this article. Read our disclosure.