fill_pdf_form
Fill PDF form fields by providing field name-value pairs. Accepts base64-encoded PDF, optionally flattens fields to make them non-editable. Returns filled PDF as base64.
Instructions
Fill form fields in a PDF.
Args: pdf_base64: Base64-encoded PDF file with form fields. fields: Field name-value pairs to fill. flatten: Whether to flatten the form (make fields non-editable).
Returns: Base64-encoded filled PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_base64 | Yes | ||
| fields | Yes | ||
| flatten | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |