ToolGemini
Gemini API gets Tool Retrieval to use fewer tokens
Original title: Introducing Tool Retrieval in the Gemini API
- Date
- Company
- Type
- Tool
- Source
- GoogleRead the source (opens in a new tab)

Plain language
- What it is
- Google launched a new feature called Tool Retrieval in preview for the Gemini API. It helps AI agents manage large libraries of software tools more efficiently.
- How it works
- Instead of sending detailed information about every single tool with every request, the system loads the specific details only when a tool is actually needed. This reduces data usage, lowers costs, and speeds up response times.
- Where it is available
- The feature is available in preview within the Gemini Interactions API. It works with Gemini 3.6 and later models, including all Gemini 4 models.
- Example
- Refunding a damaged order. The system identifies that a refund tool is needed, loads its specific details, and processes the refund with the order ID and amount.
For developers
- What it is
- Google introduced Tool Retrieval in preview for the Gemini Interactions API. This feature allows developers to load tool parameter schemas on demand instead of sending the entire tool library in every prompt.
- How it works
- Developers add a tool_search tool to the request and set defer_loading to true on specific tools. The model retains access to tool names and descriptions, but only retrieves the full parameter schemas when a specific function call is required.
- Where it is available
- It is available in the Interactions API and works with Gemini 3.6 and later models, including Gemini 4 models. It also supports remote MCP servers and client-side retrieval.
- Example
- Executing an issue_refund function. The model searches for the tool, the API loads its schema containing order_id and amount parameters, and the model emits the function call within a single interaction.
The original post
The headline and explanation on this page are based on Google's post. The full details are in the original.
Introducing Tool Retrieval in the Gemini API
Read the source (opens in a new tab)