dom.summary
Retrieve a structural outline of a page's DOM instead of raw markup, so you can inspect the document hierarchy first and fetch HTML only for the branch that matters.
Instructions
Structural outline of the document rather than its markup. Read this first; pull HTML only for the branch that matters.
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.summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| max_depth | No | ||
| max_nodes | 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. |