PDF text to markdown
pdf_to_markdownExtracts the text of one digital PDF from a public URL and returns it as markdown (headings, lists, paragraphs) or plain text, with page count. Text PDFs only: no OCR, so scanned image PDFs come back empty and are not charged. Up to 25 MB and 200 pages; returned text is capped at 300,000 characters. Flat price per PDF converted. Price: $0.01 per successful call (x402 USDC on eip155:8453). Failed or empty calls are never charged.
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": {
"url": "<url>"
},
"name": "pdf_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct public URL of one PDF file. | |
| format | No | Default markdown. |