抓取網頁
web_fetchFetch public web pages with two modes: readable extracts main text, source returns raw HTML. Use offset and limit for bounded pagination, while blocking local and private addresses for safety.
Instructions
讀取公開 HTTP(S) URL。readable=抽正文、source=原文;offset/limit 有界分頁;拒絕本機與私網位址。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "web_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| mode | No | readable | |
| limit | No | ||
| offset | No |