Html to markdown
html_to_markdownConvert raw HTML markup into clean Markdown (headings, links, tables, lists, fenced code, blockquotes, entities decoded; strips script/style and optional chrome). $0.002 per call over x402 (USDC on Base or Solana). Call once without payment for terms, then pass payment.
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 | Raw HTML markup to convert to Markdown (up to 512 KB). | |
| baseUrl | No | Optional base https:// URL to resolve relative links and images. | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). | |
| stripChrome | No | Optional: set true to omit nav/header/footer/aside/form chrome. |