spider_transform
Already have HTML? Convert it to markdown, text, or XML without web requests. Includes readability and cleaning options for AI-friendly output.
Instructions
Transform HTML content to markdown, text, or other formats without making any web requests. Use when you already have HTML and need to convert it.
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": {
"data": "<data>"
},
"name": "spider_transform"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of HTML documents to transform | |
| clean | No | Clean output for AI consumption (strip nav, footers) | |
| clean_full | No | Aggressively clean HTML attributes | |
| readability | No | Apply readability preprocessing | |
| return_format | No | Output format. Default: raw |