> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fetchhive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Grounding

> 使用 Gemini 原生的 Google Search grounding 为 Gemini 智能体响应提供依据

# Google Grounding

Google Grounding 让 Gemini 智能体可以使用 Google Search 的公开网页结果为其答案提供依据。

## 它做什么

此工具使用 Gemini 原生的 Google Search grounding。Gemini 会自行决定何时启用搜索 grounding,在内部运行搜索,并返回 grounding 元数据,例如搜索查询、来源、引用和 Search Suggestions。

当智能体使用 Gemini 模型,且答案应与最新的公开网页来源相关联时,使用 Google Grounding。

## 将工具添加到智能体

1. 在编辑器中打开一个 Gemini 智能体。
2. 点击工具提示为 **Add MCP Tool or Sub Agent** 的按钮。
3. 在 **MCP Tools** 中,点击 **Google Grounding**。

## 配置

在本版本中,Fetch Hive 不为 Google Grounding 显示额外的配置字段。

## Google Grounding 与 Google Search 对比

* **Google Grounding** 是 Gemini 原生的。它作为内置 grounding 工具发送给 Gemini,并可以返回引用和 Google Search Suggestions。
* **Google Search** 是 Fetch Hive 的 SERP 风格网页搜索工具。它通过外部搜索工具路径驱动,可以被非 Gemini 智能体使用。

## 计费说明

* 当 Google 返回 grounded 结果时,托管的 Gemini 智能体会使用托管的 LLM 钱包。
* 个人/BYOK 的 Gemini 智能体目前尚不支持,因此 Google Grounding 目前仅限托管模式。

## 备注

* Google Grounding 不会向提供商请求添加 MCP 服务器。
* 在编辑器中使用 **Chat**,可在测试运行期间查看智能体何时使用 Google Grounding。请参阅[使用聊天测试](../testing-with-chat)。
