Google adds Tool Retrieval to the Gemini API so agents load tool schemas only when they need them
Google launched Tool Retrieval in preview in the Gemini Interactions API on November 19, 2026, letting an agent keep a large tool library on standby and load each tool's full parameter schema only when a task calls for it.
What happened
- Developers add a tool_search tool and set defer_loading: true on tools to hold back; the model still sees each deferred tool's name and description, then searches for and loads the schema it needs inside the same API call.
- Setting defer_loading on a remote MCP server tool defers every tool that server exposes; a client-side mode lets apps run their own lookup at the cost of one extra round trip per search.
- It works only in the Interactions API (v1beta), not generateContent, on Gemini 4 Carbon, Neon, Hydrogen and Argon and Gemini 3.8 and 3.6 Flash.
- There is no separate charge, but each server-side search adds a model call billed at input rates; Google's docs note static loading can cost less for small tool libraries.
Why it matters: For developers building agents with dozens or hundreds of tools or large MCP servers, it can cut input tokens and keep tool selection accurate. It's a preview, so the API may change before general availability.
Sources
- Google: Introducing Tool Retrieval in the Gemini API blog.google
- Gemini API docs: Tool retrieval aistudio.google.com
Checked November 21, 2026 against the sources above. Claims about performance or benchmarks are the company's own unless stated otherwise.