百度百科
查询人物、地点、事物等百科词条,获取名词解释和详细背景信息。

通过百度 AI 搜索检索网页资料,适合获取近期信息、查找官方文档和收集研究线索。可以指定结果数量与时间范围,再围绕结果继续整理摘要。
新闻与行业动态检索;技术文档查找;背景资料收集;限定时间范围的信息查询。
可直接用自然语言说明这些选项;带代码样式的参数按实际工具定义处理。
| 参数或输入项 | 填写说明 |
|---|---|
query |
必填,搜索问题或关键词。 |
count |
可选,返回数量 1–50,默认 10。 |
freshness |
可选,pd/pw/pm/py 分别表示近 24 小时、7 天、31 天、365 天。 |
| 自定义日期 | freshness 也可填写 YYYY-MM-DDtoYYYY-MM-DD。 |
搜索近 7 天 AI 设备行业的重要动态,query 为“AI 玩具 行业动态”,count 为 10,freshness 为 pw,整理标题、要点和来源链接。
网页检索结果、来源线索,以及基于实际结果整理的摘要。
以下为技能最新版本的 SKILL.md 正文,智能体按其中的步骤完成任务。
Search the web via Baidu AI Search API.
This skill requires a BAIDU_API_KEY to be configured in OpenClaw.
If you don't have an API key yet, please visit:
https://console.bce.baidu.com/ai-search/qianfan/ais/console/apiKey
For detailed setup instructions, see:
references/apikey-fetch.md
python3 skills/baidu-search/scripts/search.py '<JSON>'
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
| query | str | yes | - | Search query |
| count | int | no | 10 | Number of results to return, range 1-50 |
| freshness | str | no | Null | Time range, two formats: format one is ”YYYY-MM-DDtoYYYY-MM-DD“, and format two includes pd, pw, pm, and py, representing the past 24 hours, past 7 days, past 31 days, and past 365 days respectively |
# Basic search
python3 scripts/search.py '{"query":"人工智能"}'
# Freshness first format "YYYY-MM-DDtoYYYY-MM-DD" example
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"2025-09-01to2025-09-08"
}'
# Freshness second format pd、pw、pm、py example
python3 scripts/search.py '{
"query":"最新新闻",
"freshness":"pd"
}'
# set count, the number of results to return
python3 scripts/search.py '{
"query":"旅游景点",
"count": 20,
}'
Fully functional.
| 版本 | 发布日期 | 更新说明 |
|---|---|---|
1.1.4 | 2026-10-15 | - |
把团队的做事方法沉淀为技能
在技能中心导入技能包、从平台资源生成或在线编写,发布后安装到超级AI助理使用。
