Document to Markdown (parse)
doc_parseDocument parser: turn a document into clean, agent-ready Markdown with metadata: DOCX, ODT, EPUB, RTF, HTML, RST, LaTeX and more. Returns title, author, date, language, word count, heading outline, table and image counts and the Markdown (headings and tables preserved). For PDF use pdf-extract; PPTX and XLSX are not supported. Params: file_base64 or url or content (one required), from (optional), max_chars (1000 to 200000, default 50000). Price: $0.009 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 {"url":"https://agentsvc.io/docs","max_chars":5000}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| from | No | ||
| content | No | ||
| max_chars | No | ||
| file_base64 | No | Document as base64 (max 10 MB) |