跳到正文

Google 在 Gemini Interactions API 中推出 Tool Retrieval

Google Blog: AI当事人·· 1 天前精选Introducing Tool Retrieval in the Gemini API
打开原文
原文
图片来自 Google Blog: AI
谁
Google
时间
引文
Today we're launching Tool Retrieval in the Gemini API, available in preview in the Interactions API .

发生了什么

Google 已在 Gemini Interactions API 中推出预览版 Tool Retrieval(工具检索)。智能体可以保留延迟加载工具的名称和描述,同时按需加载其参数架构;服务端检索可在单次请求内完成搜索与函数调用,且不单独收费。该功能还支持远程 MCP 服务器,并适用于 Gemini 3.6 及更高版本模型,包括所有 Gemini 4 模型。

推荐理由

对于拥有庞大工具库的智能体而言,用不到的架构可以不放入提示词中,从而减少输入 token 消耗,同时仍可在同一次 API 请求内完成工具发现。开发者还可以延迟加载由远程 MCP 服务器公开的工具。

这件事到目前为止

Google has launched Tool Retrieval in preview in the Gemini Interactions API, allowing agents to keep deferred tools' names and descriptions available while loading their parameter schemas on demand. Server-side retrieval completes both search and function calling within a single request, and the feature also supports remote MCP servers. Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API. Google said Tool Retrieval carries no separate charge, though input and output tokens are billed at the standard rates for the model called; enabling tool_search adds a small, fixed block of input tokens, and each schema the model loads is billed as input for the rest of the conversation, the same as a tool declared up front.

接下来读什么

查看这件事的完整进展Google Launches Tool Retrieval in Preview for the Gemini Interactions API
这条收录于 11月20日 AI 日报看这一期日报的全部内容