{"version":1,"type":"story","url":"https://digestai.news/story/google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load","json":"https://digestai.news/story/google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load.json","markdown":"https://digestai.news/story/google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load.md","slug":"google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load","headline":"Google adds Tool Retrieval to Gemini API for efficient agent tool loading","summary":"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. The model sees only the names and descriptions of these deferred tools, loading the full schema only when a specific task requires it. This process happens within a single API call, allowing the model to search for, load, and call the function without additional round trips.\n\nThe 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.\n\nPricing 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.","keyPoints":["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."],"whyItMatters":"This feature makes it practical to build agents with large tool libraries by reducing token costs and improving selection accuracy, a key bottleneck for complex AI applications.","category":{"slug":"agents","name":"Agents & Tools","url":"https://digestai.news/category/agents"},"entities":{"companies":["Google"],"models":["Gemini 3.6","Gemini 4","gemini-4-hydrogen"],"people":[]},"firstPublishedAt":"2026-11-19T18:00:00Z","updatedAt":"2026-11-19T18:55:03Z","sourceCount":2,"hasPrimarySource":true,"sources":[{"outlet":"Google AI Blog","title":"Introducing Tool Retrieval in the Gemini API","url":"https://blog.google/innovation-and-ai/technology/developers-tools/gemini-api-tool-retrieval","publishedAt":"2026-11-19T18:00:00Z","type":"primary","primary":true,"lead":true},{"outlet":"Unite.AI","title":"Google Previews On-Demand Tool Retrieval for Gemini API Agents","url":"https://unite.ai/google-previews-on-demand-tool-retrieval-for-gemini-api-agents","publishedAt":"2026-11-19T18:55:03Z","type":"press","primary":false,"lead":false}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Google adds Tool Retrieval to Gemini API for efficient agent tool loading\", 19 November 2026, https://digestai.news/story/google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load","publisher":"Digest AI","title":"Google adds Tool Retrieval to Gemini API for efficient agent tool loading","datePublished":"2026-11-19T18:00:00Z","url":"https://digestai.news/story/google-adds-tool-retrieval-to-gemini-api-for-efficient-agent-tool-load"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}