PDF and document to Markdown
document_to_markdownConvert a PDF, Word (.docx), Excel (.xlsx/.xls), OpenDocument, CSV, HTML or XML file at a URL into clean Markdown text an LLM can read. Up to 10 MB. Great for invoices, reports, papers, contracts and spreadsheets. Costs $0.004 per call.
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": "document_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public URL of the document. | |
| max_chars | No | Longest Markdown to return. Default 50,000. |