wavexis_dom_snapshot
Capture a full DOM snapshot including iframes and shadow roots. Read-only, returns JSON with snapshot and documents count.
Instructions
Capture a full DOM snapshot of the page including iframes and shadow roots.
Use wavexis_dom_query for lightweight element metadata instead of a full snapshot.
Side effects: None; read-only. Returns: JSON string with keys: 'status' ('ok'/'error'), 'snapshot' (dict), 'documents' (int).
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": {
"input": "<input>"
},
"name": "wavexis_dom_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |