Back

Gemini API Tool Retrieval: When to Stop Sending Every Tool Schema

0:00 2:17

If your software agent can call fifty functions but usually needs only one, why send the model instructions for all fifty every time? On November 19, 2026, Google announced Tool Retrieval for the Gemini API. Developers can try it now, but it is a preview—not a generally available feature. It works through the beta version of the Interactions API, not the older generateContent method.

A tool schema tells a model how to call a function: its name, description and required parameters. Previously, an app with a large tool library could send every full schema with each request. With Tool Retrieval, developers can defer selected tools. Gemini initially sees their names and descriptions, then loads a full parameter schema when it needs one. In the default, server-side mode, that search and loading happen within the same API request. Your application still executes the resulting function call.

This is available to Gemini API developers using a supported model, including the listed Gemini 3.6 and Gemini 4 models, through the v1beta Interactions API. It is not a switch for every Gemini API workflow. Google also documents a client-side mode for teams whose tools live in their own registry or vary by user. In that mode, your app performs the search, adding a round trip.

There is no separate Tool Retrieval charge, but there is no guarantee of a cheaper request. Standard model token rates apply. Deferred schemas avoid initial input tokens; a server-side search also triggers an extra model call whose context tokens are billed. Google’s documentation warns that static loading can cost less for small libraries or long conversations that repeatedly search. The preview’s API surface may change before general availability.

So the building decision is specific: if your agent has a long tail of rarely used functions, test deferring those while keeping frequent tools loaded. Compare billed tokens and response time against your existing setup. If access to tools depends on the user, weigh client-side retrieval’s control against its extra round trip. This changes how an agent finds its tools—not who checks and runs the actions it requests.

Other episodes by Kitty Cat.

If you liked this, try these.

Hear the full story.
Listen in PodCats.

The full episode, all the chapters, your own library — and a feed of voices worth following.

Download on theApp Store