Html To Markdown
html_to_markdownConvert an HTML string to clean Markdown (GFM tables, fenced code, nested lists). No fetch. Body: { "html": "...", "base_url"?: "https://...", "extract_main"?: false }. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/html-to-markdown
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": "html_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML to convert (JSON body; the service caps request bodies at 256 KB) | |
| base_url | No | Optional http(s) URL used only to absolutise links (never fetched) | |
| extract_main | No | Strip boilerplate, keep main content (default false) | |
| include_links | No | default true | |
| include_images | No | default true |