pdf_form_fill
Fill named form fields in a PDF, including text, checkboxes, dropdowns, and radio groups. Optionally flatten to make fields non-editable.
Instructions
Fill form fields in a PDF by name. Supports text fields, checkboxes ("true"/"false"), dropdowns, option lists, and radio groups. Use pdf_form_read first to discover field names and types. Optionally flatten the form to make it non-editable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | Yes | Object mapping field names to values. For checkboxes: "true" or "false". For dropdowns/radio: the option value string. | |
| flatten | No | If true, flattens the form making fields non-editable (default: false) | |
| filePath | Yes | Path to the PDF file with form fields | |
| password | No | Password if the PDF is encrypted | |
| outputPath | Yes | Path where the filled PDF will be saved |