ToolGemini

Gemini API gets Tool Retrieval to use fewer tokens

Original title: Introducing Tool Retrieval in the Gemini API

Date
Company
Google
Type
Tool
Illustration: Gemini API gets Tool Retrieval to use fewer tokens

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)

Featured in the morning brief

Sunday to Friday mornings · in Hebrew

Yesterday's AI, in this morning's inbox

The new models, tools and deals, each with a short note on what it changes for a business.

How often?

A short issue in the morning, Sunday to Friday, when there is news. Written in Hebrew.

Unsubscribe in one click. Your email is used only for the brief.

This site keeps Shabbat, no email goes out from the start of Shabbat on Friday to the end of Saturday

Past issues