browser_get_html
Retrieves the HTML content of a web page or a specific element using a CSS selector, returning innerHTML by default or outerHTML when requested.
Instructions
Get the HTML content of the page or a specific element
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_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Target CSS selector (whole page by default) | |
| outerHTML | No | Return outerHTML instead of innerHTML (default: false) |