chrome_get_html
Retrieves the HTML of a Chrome page or a specific CSS-selected element, letting agents inspect outerHTML or innerHTML for a target tab.
Instructions
Get the HTML of the page or 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": "chrome_get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outer | No | outerHTML (default) vs innerHTML | |
| tabId | No | ||
| selector | No | CSS selector (default: html) |