fill_pdf_form
Fill form fields in a local PDF by providing the file path and a JSON object of field/value pairs, with optional output settings.
Instructions
Fill form fields in a local PDF using the PDF4me FillPdfForm API. Provide the local PDF path and a JSON object of field/value pairs in form_data. Optionally specify output directory and output file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the template PDF file to fill. | |
| form_data | Yes | Form field values as key/value pairs (for example {"firstname": "John"}). | |
| output_dir | No | ||
| output_file_name | No |