web_fetch
Fetch a URL and convert it to readable Markdown by stripping navigation, ads, and scripts; paginate long pages with start_index for continued reading.
Instructions
Fetch one URL and return it as readable Markdown, with navigation, ads and scripts stripped. JavaScript is not executed, so script-rendered pages come back thin. Login, paywall and bot-challenge pages are reported as errors (LOGIN_REQUIRED / BLOCKED) instead of being returned as content — use the playwright tools for those. Text, JSON and XML are returned as-is; binary content (images, PDFs, archives) is refused with an explanation. Long documents are paginated: call again with start_index to continue reading.
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 |
|---|---|---|---|
| raw | No | Return raw HTML instead of Markdown (default false). | |
| url | Yes | Absolute http:// or https:// URL. | |
| max_length | No | Characters to return (default 5000, max 100000). | |
| start_index | No | Character offset to start from (default 0); use the value from a previous truncation notice. |