web_fetch
Fetches a URL and returns sanitized content, with text, HTML, or auto extraction and a length limit, for browsing platforms and external sites instead of curl.
Instructions
Fetch a URL and return sanitized content. Use this instead of curl/WebFetch for browsing platforms and external sites.
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 | URL to fetch | |
| extract | No | 'text' strips HTML tags, 'html' returns raw, 'auto' strips if HTML detected | auto |
| max_length | No | Max response body length to return |