doc_parse
Parse documents (DOCX, ODT, EPUB, RTF, HTML, RST, LaTeX) into clean agent-ready Markdown with metadata such as title, author, outline, and table counts.
Instructions
Document to Markdown (parse) — Document 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). Cost: $0.009 USDC per call. Latency p99: 6000ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| from | No | ||
| content | No | ||
| max_chars | No | ||
| file_base64 | No | Document as base64 (max 10 MB) |