get_dom
Retrieve full page HTML or a specific element's outerHTML from an Electron app by CSS selector, enabling DOM inspection during debugging.
Instructions
Read documentElement.outerHTML or a specific element's outerHTML
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_dom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional CSS selector; omit for full documentElement.outerHTML | |
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. |