OFICIAL Google Blog

Introducing Tool Retrieval in the Gemini API

What happened
Based on Google Blog · Nov 19, 2026

Google’s Gemini API now offers Tool Retrieval in preview, letting agents load only the tool schemas they need on demand to reduce latency and token costs while maintaining accuracy.

Introducing Tool Retrieval in the Gemini API
Google Blog — Google
Key points
·
Tool Retrieval in the Gemini Interactions API loads tool schemas only when needed to reduce input tokens and latency
·
Developers activate Tool Retrieval by adding a tool_search tool and setting defer_loading: true on selected tools
·
Tool Retrieval works with Gemini 3.6 and later models in the Interactions API without separate charges

Tool Retrieval is now available in preview within the Gemini Interactions API, allowing developers to load tool parameter schemas only when required rather than sending an entire tool library with every prompt. This approach is designed to reduce input token usage and maintain tool selection accuracy as agent-based systems scale. The feature is accessible today by adding a tool_search tool and setting defer_loading to true in requests.

The introduction of Tool Retrieval aims to help developers manage large collections of software tools more efficiently by keeping a full library on standby and retrieving only the necessary schemas during a task. This method reduces data overhead, improves response times, and enhances the precision of tool selection. Developers can begin using the feature immediately with the latest Gemini models to build applications that are both more responsive and capable.

Tool Retrieval addresses inefficiencies in handling extensive tool sets by enabling agents to defer loading parameter schemas until they are needed, which minimizes input token inflation and latency. To activate the feature, developers must include a tool_search tool in their requests and mark specific tools with defer_loading: true, allowing the model to access tool names and descriptions while keeping schemas out of context until required.

The feature integrates seamlessly with existing workflows, including remote MCP servers, where setting defer_loading: true on an mcp_server tool loads its exposed tools on demand without manual listing. Tool Retrieval also supports client-side retrieval for custom tool registries and allows new tools to be introduced mid-conversation when users connect integrations, all without additional charges beyond standard token billing.

Original source → Deals on Clipraptor.com →