Document to Markdown (PDF, Word, slides)
document-to-markdownTurn a PDF, Word file, slide deck or scanned page into clean Markdown, with tables and layout kept and OCR on scanned pages. Priced by the page limit you choose. Price: from $0.007 per document, charged only on success. Price depends on max_pages: 1 $0.007, 5 $0.028, 20 $0.109, 50 $0.271 (default 5). One call = the Markdown text of one document.
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": {
"file": "<file>"
},
"name": "document-to-markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Public URL of a .pdf, .doc, .docx, .ppt, .pptx or image file (https) | |
| force_ocr | No | Read every page as an image (for scans with a bad text layer), default false | |
| max_pages | No | Most pages to read; sets the price. Default 5 |