Skip to content

An editorial team and a community building with AI

← All articles

News · Google · 2 min read

Event date: · Published:

Google adds Tool Retrieval to the Gemini API's Interactions API

Google's Gemini API now lets developers defer loading tool schemas until needed with Tool Retrieval, a preview feature that cuts token overhead for agents juggling many tools.

Google introduced Tool Retrieval in the Gemini API's Interactions API on November 19, 2026, giving developers a way to defer loading full tool parameter schemas until they are actually needed instead of sending an entire tool library with every prompt. The feature was detailed in a Google blog post by Lucia Loher, product manager for the Gemini API, and Nora Kassner, a research scientist at DeepMind, in Introducing Tool Retrieval in the Gemini API.

What's changing

  • Tool Retrieval ships in preview inside the Gemini API's Interactions API.
  • Developers add a tool_search tool and set defer_loading: true to load full tool schemas only when they are needed.
  • The feature supports Gemini 3.6 and later, including all Gemini 4 models.
  • It is billed at standard token rates with no separate charge, and the server side search option needs no index to set up.
  • Declaring tool_search with execution: client enables custom tool registries, and the feature works well with remote MCP servers and prefix caching.

Why it matters for AI builders

Context bloat from large tool libraries is a common problem for people building AI agents that connect many tools: every prompt had to carry the full schema for each one, driving up tokens even when most tools went unused. Tool Retrieval addresses that directly, giving Gemini API users a built in way to scale to hundreds of tools without paying the token cost of listing them all on every call.

Availability

The legacy generateContent API does not support Tool Retrieval, so developers relying on that older interface will need to move to the Interactions API to take advantage of it.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Google adds Tool Retrieval to the Gemini API's Interactions API | vibecoding.inc