API blog.google
Gemini API、Tool Retrievalをプレビュー提供開始
Gemini APIのTool Retrievalがプレビュー開始。対象モデルでツール検索を有効化し、入力トークンとレイテンシ削減を試せる。
- 発表
- 掲載
- 編集
- 原 文人
- 対象
- 開発者向け
発表の内容
日本で使えるか
- 日本から
- Gemini APIの提供地域に日本が含まれている (提供地域の一覧)
ポイント
- 利用はGemini 3.6以降とGemini 4全モデルが前提で、対象外なら使えない。
- 入力トークン数とレイテンシ削減は開発元の評価で、削減効果は開発元の評価にすぎない。
- tool_search追加やmcp_serverのdefer_loading設定で有効化し、既存の呼び出しに設定を追加する形。
原文
- [1]
Tool Retrieval is now in preview in the Gemini Interactions API.
- [2]
Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API.
- [3]
This feature reduces input token counts and latency by loading parameter schemas only when needed.
- [4]
You can try this feature today in the Interactions API by adding a tool_search tool and setting defer_loading to true in your requests.
- [5]
Set defer_loading: true on an mcp_server tool and every tool that server exposes is loaded on demand, so you can connect a large server without listing its tools one by one.
出典:Introducing Tool Retrieval in the Gemini API(blog.google)