browser_get_html
Retrieve the raw HTML of a web page or a specific element using a CSS selector. Choose outerHTML to include the element's own tag for accurate scraping or debugging.
Instructions
Get the HTML of the page or of an 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 |
|---|---|---|---|
| outer | No | Include the element's own tag (outerHTML) | |
| selector | No | CSS selector of the element (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |