File to Markdown
file_to_markdownConvert a Word (.docx), Excel (.xlsx) or CSV file (base64) into clean Markdown — for RAG, agents and pipelines. DOCX keeps headings/lists/tables; spreadsheets become Markdown tables (one per sheet). Returns Markdown inline. Optional 'format' (docx|xlsx|csv) overrides auto-detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Base64-encoded .docx, .xlsx or .csv file. | |
| format | No | Optional format hint; auto-detected if omitted. |