browser_get_html
Retrieve raw HTML from any target element or the entire web page to power structured data extraction, layout debugging, and advanced scraping workflows.
Instructions
Returns the raw HTML of a target element or the entire page if no target is specified.
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 |
|---|---|---|---|
| target | No | Optional target element reference (snapshot ID) or CSS selector. If omitted, the HTML of the entire page is returned. |