pdf_add_form_field
Add interactive form fields to PDF documents by specifying field type, position, and dimensions to create fillable forms.
Instructions
Add a form field to a PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes | ||
| page_number | Yes | ||
| field_type | Yes | ||
| field_name | Yes | ||
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| height | Yes | ||
| options | No |
Input Schema (JSON Schema)
{
"properties": {
"field_name": {
"title": "Field Name",
"type": "string"
},
"field_type": {
"title": "Field Type",
"type": "string"
},
"height": {
"title": "Height",
"type": "number"
},
"options": {
"default": null,
"items": {
"type": "string"
},
"title": "Options",
"type": "array"
},
"page_number": {
"title": "Page Number",
"type": "integer"
},
"pdf_path": {
"title": "Pdf Path",
"type": "string"
},
"width": {
"title": "Width",
"type": "number"
},
"x": {
"title": "X",
"type": "number"
},
"y": {
"title": "Y",
"type": "number"
}
},
"required": [
"pdf_path",
"page_number",
"field_type",
"field_name",
"x",
"y",
"width",
"height"
],
"type": "object"
}