Files
X-Agents/account/admin/skills/system/web-search/SKILL.md

38 lines
954 B
Markdown
Raw Normal View History

---
name: web-search
description: Search the web using DuckDuckGo. Use when you need to find current information, verify facts, look up documentation, or answer questions requiring up-to-date knowledge. Returns titles, URLs, and snippets.
system: true
handler: web_search
tool-name: web_search
category: Web Search
---
# Web Search
使用 DuckDuckGo 搜索网页,获取最新信息。
## Parameters
| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| query | string | 是 | 搜索关键词 |
| max_results | integer | 否 | 最大结果数1-20默认 5 |
| region | string | 否 | 地区代码wt-wt 全球cn-zh 中国) |
| safesearch | string | 否 | 安全搜索on/moderate/off |
## Examples
**搜索信息**:
```json
{"query": "Python asyncio 教程", "max_results": 5}
```
**搜索中文内容**:
```json
{"query": "天气预报", "region": "cn-zh"}
```
## Related Skills
- `news-search`: 搜索新闻