web_fetch
Fetch HTTP/HTTPS URLs safely for AI agents with read-only requests, SSRF protection, secret scrubbing, and optional HTML-to-Markdown conversion.
Instructions
Safe Tier-1 read-only HTTP/HTTPS fetch with multi-encoding, SSRF firewall, secret scrubbing, and optional HTML-to-Markdown conversion.
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 | Target HTTP/HTTPS URL. | |
| path | No | Optional relative path/query overriding the URL path. | |
| method | No | Read-only HTTP method (default: GET). | |
| headers | No | Optional request headers. | |
| max_chars | No | Maximum body characters returned (default: 32000). | |
| as_markdown | No | Convert HTML response to compact GFM Markdown (default: false). | |
| include_body | No | Include response body/markdown in output (default: true). |