get_live_dom_subtree
Extract the live HTML structure of any DOM subtree on the active browser page using a node ID or CSS selector.
Instructions
Reconstruct and extract the live HTML or node structure of a specific subtree on the active browser page.
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_live_dom_subtree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | LogicalNodeId of the subtree root | |
| selector | No | CSS selector of the subtree root |