Safe Web Fetch, Map & Crawl
omni_fetchFetch public web page text from one or up to 20 URLs safely, map a site's docs tree, or crawl relevant top pages; includes query trimming, SSRF blocking, and untrusted-content tagging.
Instructions
安全拉取单条或批量(urls,上限 20)公网 URL 正文(支持 query 聚焦裁剪与 PDF/GitHub/PyPI/npm 官方 API),或设置 mode='map' 映射站点文档目录树、mode='crawl' 一键站内定向采集 Top-N 正文,内置 SSRF 阻断与 untrusted_content 标记。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 单条目标公网 http/https URL(与 urls 二选一) | |
| mode | No | fetch=读取正文,map=映射站点目录树,crawl=按 query 映射并并发采集站内 Top-N 正文 | fetch |
| urls | No | 批量并发抓取 URL 列表(上限 20 条,单条失败隔离) | |
| query | No | 可选聚焦查询词(fetch/crawl 模式按相关性裁剪长文,map/crawl 模式按相关性排序 URL) | |
| maxUrls | No | 仅 mode='map' 生效:最大返回 URL 数量 | |
| noCache | No | 绕过磁盘 TTL 缓存强制实时抓取 | |
| maxChars | No | ||
| maxPages | No | 仅 mode='crawl' 生效:站内最大采集页数 | |
| timeoutSec | No | ||
| concurrency | No | 批量抓取最大并发数 | |
| preferLlmsTxt | No | 对站点根路径优先探测 /llms.txt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||