dom
Parses HTML content and executes extraction operations to retrieve titles, metadata, links, images, tables, forms, scripts, styles, and custom query results.
Instructions
Parse HTML with jsdom and execute DOM operations (query, attr, text, html, links, images, tables, forms, etc.).
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML content to parse | |
| operations | No | Array of operations to execute on the parsed DOM. If omitted, returns title and basic structure. |