Fetch raw HTML
fetch_htmlFetch a web page's HTML with scripts, styles, SVGs, iframes, comments, and inline handlers removed, leaving readable tags and attributes for inspecting or rebuilding markup; JavaScript is not run.
Instructions
Free, read-only. Fetch a page and return its HTML minus scripts, styles, svg, iframes, comments and inline handlers; tags and attributes stay, so structure is readable. For inspecting or rebuilding markup, not plain text (fetch_extract gives that). Runs no JavaScript: SPAs return an empty shell. Cut at maxChars with a marker.
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": "fetch_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | http(s) page URL. Private addresses are refused. | |
| headers | No | Headers to forward (Authorization, Cookie…). | |
| maxChars | No | Output cap, chars. Default 16000, max 64000. |