add_field
Add a missing field to any PDF form by specifying its position as percentage coordinates. Correct false negatives from automatic field detection.
Instructions
Add a field the detector missed (a false negative).
Coordinates are percentages of the page (0-100), top-left origin — read them off the render_preview image proportionally. align ('left'|'center'|'right') and vertical_align ('top'|'middle'|'bottom') control where the value sits inside the box when the PDF is filled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | Yes | ||
| w | Yes | ||
| x | Yes | ||
| y | Yes | ||
| name | No | ||
| align | No | ||
| field_type | No | text | |
| page_index | No | ||
| vertical_align | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |