web_fetch
Fetches a single HTTP(S) page with SSRF and redirect protections, then returns clean extracted text limited by a configurable character count.
Instructions
Fetch one HTTP(S) page safely and return extracted text.
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 | HTTP or HTTPS URL to fetch with SSRF protections and redirect validation. | |
| max_chars | No | Maximum number of extracted characters returned from one fetched page. Omit to inherit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| error | Yes | ||
| title | Yes | ||
| cached | Yes | ||
| content | Yes | ||
| success | Yes | ||
| final_url | Yes | ||
| truncated | No | ||
| content_type | Yes | ||
| fetched_bytes | No |