Fill PDF form
pdf_form_fillFill AcroForm PDF fields by exact name and write a new output file without modifying the source or overwriting existing files.
Instructions
Fill an AcroForm PDF and write a NEW file (the source is never modified and an existing output is never overwritten). values maps exact field names to values: strings for text fields; an on-state such as "/1" or "/Yes" (or true) to check a box, "" or false to clear it. strict=true refuses the whole fill if any name is unknown. finalize=true removes the XFA packet and NeedAppearances flag so viewers render the values from their own appearance streams (fields stay editable; this is not flattening). Returns the output SHA-256 and a read-back of every text value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strict | No | ||
| values | Yes | ||
| finalize | No | ||
| output_path | Yes | ||
| source_pdf_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||