Document Conversion (pandoc)
doc_convertConvert documents between formats with pandoc: Markdown, HTML, DOCX, ODT, EPUB, RST, LaTeX, RTF, plain text and PDF. Input as text (content), file (file_base64, max 10 MB: docx, odt, epub, rtf) or url. Input format is detected automatically or set with from. Text outputs come back as content, binary outputs (docx, odt, epub, pdf) as file_base64. Local file includes and remote images are not loaded. Params: to (required), content or file_base64 or url, from, title. Price: $0.01 USDC per call, paid inside this MCP call via x402 (USDC on Base, Solana, Polygon or Arbitrum). x402 MCP clients such as @x402/mcp pay automatically. Free sample: call with the example input {"content":"# Quarterly Report\n\n| Quarter | Revenue |\n|---|---|\n| Q1 | 12 |","to":"docx"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| url | No | URL of the document (max 10 MB) | |
| from | No | Input format, e.g. markdown, html, docx, rst, latex; detected if omitted | |
| title | No | ||
| content | No | Document text (markdown, html, rst, latex, org, csv ...) | |
| file_base64 | No | Binary document (docx, odt, epub, rtf), base64 |