dom.export
Dump the entire DOM tree, including shadow roots and iframe documents, into an artifact for inspection or offline analysis.
Instructions
Dump the entire DOM tree, including shadow roots and iframe documents, to an artifact.
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": "dom.export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | No | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. | |
| include_shadow_dom | No |