← All updates
GeminiDeveloper Update

Defer rarely used Gemini tool schemas to cut agent overhead

Google released Tool Retrieval in preview for the Gemini Interactions API. Developers can add a tool_search tool and mark selected functions or remote MCP servers with defer_loading so their full parameter schemas load only when needed. The model still sees each deferred tool’s name and description, while the search, schema load and function call remain visible in the interaction steps for debugging.

Source checked Nov 21, 2026
Listen to this articleAbout 2 min

Preparing audio…

AI narration. Your voice and speed choices stay in this browser.

EDITORIAL TAKEAWAY

Defer the long tail of a large tool library, keep frequent tools loaded, then compare token use, latency and tool-selection accuracy on representative traffic before expanding the rollout.

Before you try it

  • Available in preview through the Gemini Interactions API.
  • Works with Gemini 3.6 and later models, including Gemini 4 models.
  • Supports deferred functions and remote MCP servers.
  • Tool Retrieval has no separate charge; normal model input and output pricing applies.
  • Loaded schemas are billed as input for the rest of the conversation.

A small next step

Our suggested way to explore the change.

  1. Add tool_search to an Interactions API request.
  2. Set defer_loading on infrequent functions or a large remote MCP server.
  3. Leave commonly used tools loaded up front.
  4. Inspect interaction steps and measure tokens, latency and correct tool selection against the existing implementation.

Go to the source

Introducing Tool Retrieval in the Gemini API ↗

Availability can change. Check the maker's current requirements before making a decision.