Google previews Tool Retrieval in the Gemini API, designed for delayed schema loading in large tool libraries.
The core mechanism of this feature involves delayed loading of tool parameter schemas. Models only view tool names and brief descriptions during the initial interaction phase, retrieving complete schema definitions only when specific execution is needed. This design aims to address excessive token consumption caused by loading all detailed parameters at once in scenarios with numerous tool definitions.
Model information
Google has previewed the Tool Retrieval feature in its Interactions API (v1beta). This update allows models to handle tool invocation requests without needing to fetch complete parameter definitions for all tools beforehand.
Event details
The primary goal of Tool Retrieval is to reduce token consumption in scenarios with large tool libraries. Google notes that under the new mechanism, models view only tool names and short descriptions, retrieving full schemas only when necessary. As mentioned by Google during the preview:'Reduce the token overhead caused by numerous tool definitions.'。
Content description
In this feature, the model's interaction process undergoes a structural change. It no longer relies on obtaining complete parameter structures for all tools at once but instead processes information in stages. In the initial phase, models only access basic metadata (names and descriptions), maintaining a lightweight state; the system triggers retrieval of the full schema only when a specific task requires it.
Original source
Automatically compiled · Based on collected summaries; individual items have not been verified.