Google rolls out Gemini Tool Retrieval to shrink token costs

On 19 November 2026 Google announced a preview of Tool Retrieval in its Gemini Interactions API. The feature lets agents defer loading full tool parameter schemas until the model actually needs them, promising lower token counts and faster responses.

How tool retrieval works

Instead of sending every tool’s full schema with each request, developers add a tool_search tool and set defer_loading to true. The model still sees each tool’s name and description, so it knows what’s available, but the heavy schema stays hidden until a specific call is required.

When the model decides a tool fits the task, it asks for that name, the API pulls in the schema, and the function call happens – all inside the same API call. This three‑step dance appears in interaction.steps, making debugging straightforward.

Introducing Tool Retrieval in the Gemini API

Image: Google

Token and latency benefits

Sending full schemas inflates input token counts, adds latency, and can confuse the model as the candidate list grows. By loading only what’s needed, agents reduce data usage and speed up performance.

  • Lower input token usage when many tools are never called
  • Reduced latency because fewer tokens are processed per turn
  • Improved tool‑selection accuracy as the model works with a slimmer prompt

Compatibility and pricing

Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 variants. There is no separate charge – standard token rates apply. Enabling tool_search adds a small, fixed block of input tokens, and each loaded schema is billed like any other input.

Side note: Gemini’s computer‑use rollout on Mac

Around the same time, Google also released a computer‑use feature for the Gemini macOS app, letting the AI act across local files, desktop apps, and the web. While that rollout targets end‑users, the Tool Retrieval preview is aimed at developers building agents that may eventually tap into such capabilities.

Getting started

Developers can try the feature today by adding a tool_search tool and flagging the desired tools with defer_loading: true. Google’s documentation provides a full setup guide and example code.

What to watch for

If your app relies on a large toolbox, measuring token savings after enabling Tool Retrieval will show whether the preview lives up to its promise.

Sources

This post is based on Google, The Verge, TechCrunch.

Want more AI news in plain English? Read the latest on the Zoetra Blog.

Google Gemini tool retrieval preview for developers: Brought to you by Zoetra