dom-skeleton
List the interactive elements of an HTML page with stable CSS selectors — Reduces an HTML document to the elements an agent can act on: links with href, buttons, inputs (not type=hidden), selects, textareas, [role], [onclick], contenteditable, each with tag, type, role, best-effort accessible name (including label associations) and a CSS selector that matches exactly that element, preferring a stable id, then a data-testid-style attribute, name, aria-label, then a struc
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": {
"html": "<html>"
},
"name": "dom-skeleton"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML source. | |
| dedupe | No | Collapse elements with identical tag, type, role, name and href. Default true. | |
| maxElements | No | Maximum elements returned. Default 100. |