browser_get_html
Extract HTML content from an entire web page or a specific element by providing a CSS selector. Retrieve the raw markup for data extraction or page inspection during browser automation.
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 |
|---|---|---|---|
| selector | No | Selector or ref (gets full page HTML if not provided) | |
| sessionId | No | Browser session ID |