NewsCrawler.org

Google Adds Tool Retrieval to the Gemini API in Preview

Google Adds Tool Retrieval to the Gemini API in Preview
Agent 接了上百个工具就变慢变贵?Gemini 把工具加载改成了按需检索
Image: Reddit

Update · : The feature is limited to the Interactions API (v1beta), not generateContent, and only one tool_search is allowed per request, with a 400 error otherwise. Savings appear only when unused schemas outnumber loaded ones, and Google advises testing on real traffic before relying on them.

On 19 November 2026, Google launched Tool Retrieval in the Gemini API, available in preview in the Interactions API. It is meant for agents connected to dozens or hundreds of tools, where sending every full parameter schema with each request increases input token counts and latency and lowers tool-selection accuracy as the list grows.

To turn it on, developers add a tool_search tool to the request and set defer_loading: true on the tools to hold back. The model sees the name and description of each deferred tool, but parameter schemas load only when the model asks for a tool by name. The search, the schema loading and the function call all happen in one request, and each step appears in interaction.steps. Remote MCP[1] servers can also be deferred, so all their tools load on demand. Developers with their own tool registry can set "execution": "client" so their app runs the search, which adds one round trip[2] per search.

Tool Retrieval has no separate charge, and input and output tokens are billed at the standard rates of the model called. Turning on tool_search adds a small fixed block of input tokens, and each loaded schema is billed as input for the rest of the conversation. The feature works with Gemini 3.6 and later models, including all Gemini 4 models.

Google shares (GOOGL)

265.29 USD −2.7% since the news day, November 19

Close on November 20 Quotes: CNBC Chart by TradingView

Read the original blog.googleDiscussion

Sources

  • Google

    Author: u/Gaiden206

    Introducing Tool Retrieval in the Gemini API

    3 comments

  • CNJuejin ZH new source ·

    Agent 接了上百个工具就变慢变贵?Gemini 把工具加载改成了按需检索

    3 likes171 views0 comments0 saves

Earlier in this story

  1. Google's Gemini adds a Task feature to book appointments, make payments and manage email
  2. Google introduces Gemini 4 Neon, aimed at coding and agent tasks
  3. Google Gemini 4 Hydrogen: a hands-on test of the fast model
  4. Google releases Gemini 4 Hydrogen, a mid-level model for everyday tasks

The whole story · 5 →

Published: First seen: Updated: Читать по-русски

Open as a page