Johto Data HTML to RAG
html_to_ragPOST HTML or a public URL. Strips scripts, styles, nav and footers, converts to Markdown and returns heading-aware chunks with heading paths, token estimates, stable hashes and configurable overlap. For embedding and RAG pipelines. Costs $0.005 USDC per call via x402. Without payment, the call returns the x402 payment requirements; retry with an X-PAYMENT or PAYMENT-SIGNATURE header, or params._meta["x402/payment"].
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "html_to_rag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public page URL | |
| html | No | HTML | |
| chunkTokens | No | ||
| overlapTokens | No |