AI Coding2026-11-28
Google AI Blog
Gemini API adds Tool Retrieval for agent tools
Google has added Tool Retrieval to the Gemini API as a preview feature, giving agents a way to work with hundreds of tools while using fewer tokens. Instead of placing every tool definition in the model context for each request, Tool Retrieval selects the tools that are most relevant to the task at hand. That approach can lower costs, reduce latency, and improve reliability in complex agent workflows. The feature reflects a wider shift toward agentic AI, where models do more than generate text. They call external services and APIs, retrieve information, and complete multi-step tasks. As the number of available tools grows, stuffing all definitions into a prompt becomes inefficient and can confuse the model. Tool selection helps keep the context focused. For developers, that may make it easier to build agents that can choose among many capabilities without paying a token penalty on every call. There are tradeoffs. Retrieval quality matters: if the wrong tool is selected, the agent may fail or take a less efficient path. Developers will need to evaluate how well Tool Retrieval handles ambiguous requests, overlapping tools, and changes in tool catalogs. The preview label also suggests the feature may evolve before general availability. Still, the direction is clear. Agent platforms are moving from small, hand-picked tool sets to larger libraries that need smart routing. If Tool Retrieval works well, it could make Gemini-based agents more economical and more dependable at scale. That would be important for enterprise workflows where latency and cost determine whether an agent is practical. The feature is another sign that competition in AI APIs is increasingly about orchestration, not just model quality.