browser_extract_html
Extract the outer HTML of any page element or the full DOM using a CSS selector, enabling direct inspection of rendered page structure for debugging or data retrieval.
Instructions
Extract outer HTML of a specific element or the entire page DOM.
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_extract_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector to extract HTML for | body |