web_html
Retrieve the outer HTML of a web page or a specific element by CSS selector to inspect or extract page markup.
Instructions
Get outerHTML of the page, or of the element matching 'selector'.
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": "web_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| max_chars | No | ||
| target_id | No | Tab id from web_tabs. Omit to use the first/active tab. |