Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
使用智谱 Web Search API 进行网络搜索。当用户需要搜索最新信息、查找实时数据、查询新闻、研究某个话题或获取网络上的信息时使用。支持多种搜索引擎(智谱基础版/高阶版、搜狗、夸克),可配置搜索范围、时间筛选、结果数量等参数。
使用智谱 Web Search API 进行网络搜索。当用户需要搜索最新信息、查找实时数据、查询新闻、研究某个话题或获取网络上的信息时使用。支持多种搜索引擎(智谱基础版/高阶版、搜狗、夸克),可配置搜索范围、时间筛选、结果数量等参数。
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
使用智谱 AI 的 Web Search API 进行网络搜索,获取实时、结构化的搜索结果。
获取智谱 BigModel 开放平台的 API Key:https://bigmodel.cn/usercenter/apikeys 配置 API Key(见下方说明)
在使用前,请设置您的智谱 API Key: export ZHIPUAI_API_KEY="your-api-key-here" 重要: 请使用环境变量方式配置 API Key,不要将密钥硬编码在脚本或配置文件中。
使用提供的 search_util.py 脚本进行搜索: # 基本搜索 python search_util.py "搜索内容" # 查看帮助 python search_util.py --help
引擎编码说明search_std智谱基础版搜索引擎search_pro智谱高阶版搜索引擎(推荐)search_pro_sogou搜狗搜索search_pro_quark夸克搜索
参数类型必填说明search_queryString是搜索内容,建议不超过 70 字符search_engineString是搜索引擎编码search_intentBoolean是是否进行意图识别countInt否返回结果条数 (1-50, 默认 10)search_recency_filterString否时间筛选: oneDay/oneWeek/oneMonth/oneYear/noLimitcontent_sizeString否内容长度: medium/highsearch_domain_filterString否限定域名
请求地址: https://open.bigmodel.cn/api/paas/v4/web_search 认证方式: 使用智谱 API Key,通过 Authorization header 传递
{ "id": "任务ID", "created": 1748261757, "search_intent": [ { "query": "原始搜索query", "intent": "SEARCH_ALL|SEARCH_NONE|SEARCH_ALWAYS", "keywords": "改写后的搜索关键词" } ], "search_result": [ { "title": "标题", "content": "内容摘要", "link": "结果链接", "media": "网站名称", "icon": "网站图标", "refer": "角标序号", "publish_date": "网站发布时间" } ] }
确认用户已配置 API Key 根据用户需求选择合适的搜索参数 执行搜索并以友好格式展示结果(标题、来源、日期、链接、摘要)
错误码说明1701网络搜索并发已达上限,请稍后重试1702系统未找到可用的搜索引擎服务1703搜索引擎未返回有效数据,请调整查询条件
智谱 Web Search API 文档 产品价格
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.