websearchapi
Installation
SKILL.md
WebSearchAPI
基于 SearchAPI (Google) 的多类型搜索工具,适合 Agent 获取实时网络信息。
功能特点
- 多种搜索类型: 网页、新闻、视频、财经、地图、酒店、航班
- 自动重试: 网络错误自动重试,提高稳定性
- 结构化返回: Agent 直接可用的 JSON 格式
- 零外部依赖: 纯 Node.js 内置模块
安装
# 复制 tools/websearchapi 目录到你的项目
# 配置 API Key
cd tools/websearchapi
node websearchapi.js config set-key YOUR_API_KEY