convert_pdf_to_pdfa
Convert a PDF file to PDF/A archival format for long-term preservation. Set compliance level, e.g., PDF/A-1b, and allow upgrades or downgrades as needed.
Instructions
Convert a PDF file to PDF/A (archival ISO format) using the PDF4me PdfA API. Provide the local file path to the PDF. Choose compliance (e.g. PdfA1b), allow_upgrade / allow_downgrade, and optional output path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the PDF file to convert. | |
| compliance | No | PDF/A level (PdfA1b is common for basic conformance). | PdfA1b |
| output_dir | No | ||
| allow_upgrade | No | Allow upgrading to higher compliance when supported by the API. | |
| allow_downgrade | No | Allow downgrading to lower compliance when supported by the API. | |
| output_file_name | No |