Fill a PDF form
pdf_fill_formFill PDF form fields by name with text, checkbox, or choice values; optionally flatten output so entries become non-editable.
Instructions
Fill form fields by name (pdf_info lists them): text fields take text, check boxes true or false, choices one of their options. With flatten, the filled values become part of the page and can no longer be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. | |
| values | Yes | Field name → value, such as {"Name": "Ada Lovelace", "Agree": true}. | |
| flatten | No | Make the filled values part of the page (no longer editable). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |