neuron_query_dom
Capture a DOM snapshot of the active page or a targeted CSS subtree to inspect current page structure and debug UI state from an MCP client.
Instructions
Capture a DOM snapshot of the active page or a targeted subtree
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tabId": "<tabId>"
},
"name": "neuron_query_dom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max tree depth (default: 5) | |
| tabId | Yes | Chrome tab ID | |
| selector | No | CSS selector to scope (default: body) |