ProductsOfficial

Google 推出 Gemini API Tool Retrieval 预览版,按需加载工具参数

Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries

Why we picked it

如果你的智能体挂了几十个上百个工具,prompt 早就被 schema 撑爆了。Google 把工具检索直接做进 Gemini API 的 Interactions 请求里,按需加载参数,不用再自己写路由或分组逻辑。做智能体开发的人可以先在预览版里试试效果。

Google 在 Gemini API 中以预览形式推出 Tool Retrieval 功能。智能体可以让大量工具处于待命状态,只在实际调用时才加载对应工具的参数 schema,整个过程在单次 Interactions API 请求内完成。

Image · marktechpost
Body

这一机制解决的是工具数量膨胀带来的上下文负担问题:不需要把整个工具库的完整参数描述塞进上下文,模型先确定要用哪个工具,系统再注入该工具的 schema,从而降低 token 消耗并减少长工具列表带来的选择干扰。

对开发者而言,这意味着维护上百个工具的智能体可以不用再做手工的工具分组或路由层。相比在应用侧自建 RAG 式工具筛选的常见做法,这个方案直接内置在 Gemini API 的请求流程里。

Original · marktechpost

Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries

Google launched Gemini API Tool Retrieval in preview. Agents keep a large tool library on standby and load each parameter schema only when needed, inside one Interactions API request. The post Google AI Previews Tool Retrieval in the Gemini API for Large Tool Libraries appeared first on MarkTechPost .

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include Gemini API, Google, Tool Retrieval, MCP and tools.

Primary source verification: published directly by marktechpost with first-party authority.