Pdf to markdown
pdf_to_markdownConvert any public PDF URL or base64 PDF into clean LLM-ready Markdown with headings, bullet formatting, page markers, title/author metadata, and word count. $0.002 per call over x402 (USDC on Arc, Base or Solana, or XNT on X1). Call once without payment for terms, then call again with 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": "pdf_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) URL of a PDF document (or pass pdfBase64). | |
| payment | No | signed x402 payment payload (PAYMENT-SIGNATURE). | |
| max_pages | No | Optional max pages to extract (1-150). | |
| pdfBase64 | No | Optional base64-encoded PDF file (up to 6 MB). |