export_to_pdf
Convert DOCX files to PDF, prioritizing LibreOffice for high fidelity, then pandoc. Returns conversion status and method used.
Instructions
Convert a .docx file to PDF. Attempts conversion via LibreOffice (best fidelity) then pandoc. Returns success status and the method used. Requires LibreOffice or pandoc to be installed on the system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the source .docx file | |
| outputPath | Yes | Path where the output .pdf file will be saved |