Tool v1.0.0

web-search-with-serpapi

使用SerAPI进行网络搜索,支持自定义搜索引擎(如Google、Google AI模式、Bing等)。当用户需要通过SerAPI获取网页搜索结果时使用。

ClawHub 更新于 2026-03-23 25 浏览
下载 SKILL

技能说明

使用SerAPI进行网络搜索,支持自定义搜索引擎(如Google、Google AI模式、Bing等)。当用户需要通过SerAPI获取网页搜索结果时使用。

使用场景

Search the web via SerpAPI using customizable engines like Google or Bing for accurate results

查看英文原始说明

Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.). Use when user needs web search results via SerpAPI.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/web-search-with-serpapi
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 8.5 kB · zip 5.6 kB
手动下载 zip · 5.6 kB
SKILL.md text/markdown
---
name: serpapi-search
description: "Search the web using SerpAPI with customizable engines (Google, Google AI Mode, Bing, etc.). Use when user needs web search results via SerpAPI."
metadata:
  { "openclaw": { "requires": { "python": true, "pip": ["serpapi"] }, "entrypoint": "serpapi_search.py" } }
---

# SerpAPI Search Skill

## Description
Use SerpAPI to fetch search results with support for multiple engines (Google, Google AI Mode, Bing, Yahoo, etc.). Requires a SerpAPI key.

## Parameters
- `query` (required): Search query string.
- `engine` (optional): Search engine (default: `google`). Options: `google`, `google_ai_mode`, `google_images`, `google_maps`, `youtube`

## Example Usage
```python
# Search with Google
serpapi_search(query="2026年2月24日A股市场表现", engine="google")

# Use Google AI Mode
serpapi_search(query="AI最新进展", engine="google_ai_mode")

# Use Google Image for image search
serpapi_search(query="Sunflowers", engine="google_images")
```

## Setup
1. Replace the API key in `serpapi_search.py` with your SerpAPI key.
2. Install dependencies: `pip install serpapi`

## Notes
- Results are returned as text blocks from SerpAPI response.
- API key can be set via environment variable `SERPAPI_API_KEY` for security.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。