# Serper

> 工具作者 @zhuhao。

{% hint style="warning" %}
“工具”已全面升级为“插件”生态，详细的使用说明请参考[插件开发](https://docs.dify.ai/zh-hans/plugins/quick-start/install-plugins)。以下内容已归档。
{% endhint %}

Serper 是一个强大的实时搜索引擎工具API，可提供来自 Google 搜索引擎搜索的结构化数据。以下是在 Dify 中配置和使用 Serper 搜索工具的步骤。

## 1. 申请 Serp API Key

请在 [Serper 平台](https://serper.dev/signup)申请 API Key。

## 2. 在 Dify 内填写配置

在 Dify 导航页内轻点 `工具 > Serper > 去授权` 填写 API Key。

![](https://1288284732-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCdDIVDY6AtAz028MFT4d%2Fuploads%2Fgit-blob-258c1032d1f372c45c466943ba0c41fd915d43cf%2Fzh-tool-serper.png?alt=media)

## 3. 使用工具

你可以在以下应用类型中使用 Serper 工具。

* **Chatflow / Workflow 应用**

Chatflow 和 Workflow 应用均支持添加 `Serper` 工具节点。

* **Agent 应用**

在 Agent 应用内选择需要添加的 `Serper` 工具，然后输入指令调用工具。
