らぼまる AIの最新ニュース

API blog.google

Gemini API、Tool Retrievalをプレビュー提供開始

Gemini APIのTool Retrievalがプレビュー開始。対象モデルでツール検索を有効化し、入力トークンとレイテンシ削減を試せる。

画像:blog.google
発表
掲載
対象
開発者向け

発表の内容

  • Gemini APIにTool Retrievalがプレビュー提供開始[1]
  • Gemini 3.6以降とGemini 4全モデルで利用可能[2]
  • 入力トークン数とレイテンシを削減できるとしている[3]
  • Interactions APIでtool_search追加とdefer_loading trueで利用[4]
  • mcp_serverツールにdefer_loading: trueを設定して利用[5]

日本で使えるか

日本から
Gemini APIの提供地域に日本が含まれている (提供地域の一覧)

ポイント

  • 利用はGemini 3.6以降とGemini 4全モデルが前提で、対象外なら使えない。
  • 入力トークン数とレイテンシ削減は開発元の評価で、削減効果は開発元の評価にすぎない。
  • tool_search追加やmcp_serverのdefer_loading設定で有効化し、既存の呼び出しに設定を追加する形。

原文

  1. [1] Tool Retrieval is now in preview in the Gemini Interactions API.
  2. [2] Tool Retrieval works with Gemini 3.6 and later models, including all Gemini 4 models, in the Interactions API.
  3. [3] This feature reduces input token counts and latency by loading parameter schemas only when needed.
  4. [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. [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)

発表元の記事

blog.google Introducing Tool Retrieval in the Gemini API 発表元で読む ↗