browser_get_visible_html
Retrieve visible page HTML, optionally scoped to a selector, with script/style/svg tags removed by default to minimize token usage.
Instructions
Get page HTML, optionally scoped to a selector. Strips script/style/svg by default for token efficiency.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_get_visible_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Limit to this element's outerHTML. Default whole document. | |
| maxLength | No | Truncate to this many chars. Default 100000. | |
| removeScripts | No | Remove script/style/noscript/svg. Default true. |