rotative
google ai blog · 2026年11月19日

谷歌Gemini API添加工具检索功能以减少延迟

谷歌在Gemini API中引入工具检索功能,通过按需加载工具参数模式,减少复杂任务的输入令牌和延迟。这有助于智能体更高效地管理大型工具库。

read in English · 简体中文

google has introduced tool retrieval in the gemini api, available in preview in the interactions api. this feature allows agents to keep a full tool library on standby and load parameter schemas only when the current task needs them, reducing data usage, speeding up performance, and improving accuracy. to enable this, developers add a tool_search tool to their request and set defer_loading to true on the tools they want to hold back. tool retrieval works with gemini 3.6 and later models to support complex agent tasks.

read at source ↗

← rotative