browser_get_html
Retrieve HTML content from an element or whole page. Use selectors for targeted extraction and debugging web pages.
Instructions
Get HTML content from an element or the entire page
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 |
|---|---|---|---|
| outer | No | Get outer HTML instead of inner HTML | |
| selector | No | Selector for the element (gets full page HTML if not provided) | |
| sessionId | No | Browser session ID |