Google adds Tool Retrieval to Gemini API for efficient agent tool loading
Google has launched Tool Retrieval in the Gemini API, currently available in preview within the Interactions API. This feature addresses the inefficiency of sending full parameter schemas for dozens or hundreds of tools on every request, which inflates token counts and reduces accuracy. By using a toolsearch tool with deferloading: true, developers can keep a large library of tools on standby.…
Key points
- Tool Retrieval loads parameter schemas on demand to reduce token usage and latency in agents.
- The feature works with Gemini 3.6 and later models, including all Gemini 4 models.
- No separate charge applies; standard input and output token rates apply to loaded schemas.
The feature supports both server-side and client-side retrieval. Server-side retrieval requires no index building, as Gemini handles the search. Client-side retrieval allows developers to maintain their own tool registries or permission filters, adding one round trip per search. Tool Retrieval is compatible with remote MCP servers, enabling on-demand loading of tools from large servers without listing them individually. It also integrates with prefix caching, as deferred schemas remain out of the prompt start, preserving cache efficiency.
Pricing remains standard, with no separate charge for the feature. Input and output tokens are billed at normal rates, though a small fixed block of input tokens is added for the toolsearch tool. The feature is supported by Gemini 3.6 and later models, including all Gemini 4 models. Developers can start by adding the toolsearch type to their requests and setting the deferloading flag on specific tools.
Model page: Gemini 4 Hydrogen →
Introducing Tool Retrieval in the Gemini API
Google AI Blog · 19 November 2026
Loading the full article…
This text was published by Google AI Blog and written by Nora Kassner. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
Coverage and discussion
2sources- Google Previews On-Demand Tool Retrieval for Gemini API AgentsPress · Unite.AI ·
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- A thought on why Docker Sandboxes might be the only choice for safely letting Claude Code 'run autonomously'. · 1 src
- Apple reportedly hires manager to build AI agent rivaling OpenAI, Meta, Anthropic · 2 src
- Sarvam AI ships 105B checkpoint for on-premises enterprise agents at $0.15 per million tokens · 1 src
- Anthropic adds Code and Projects tabs to Claude mobile app · 1 src
- Visa CLI adds card verification for AI agents and OUSD payouts · 1 src
Comments
via GitHub Discussions