get_html
Retrieve the HTML of a selected element or the entire document to inspect page structure. Target elements with a CSS selector; omit it to read the full document.
Instructions
Return the HTML of an element (outerHTML) or the whole document. Useful for inspecting structure; for visible text use get_text.
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": "get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector. Omit to read the whole document. |