document_export
Convert LibreOffice documents to PDF, DOCX, HTML, TXT, and other formats using the LibreOffice engine for compatibility and sharing needs.
Instructions
Export a document to a different format using LibreOffice. Supports exporting to: PDF, HTML, TXT, DOCX, XLSX, PPTX, ODT, ODS, ODP, CSV. LibreOffice must be installed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document handle returned by document_open | |
| format | Yes | Target format | |
| outputPath | No | Output file path (default: same directory as source, new extension) |