add_field
Add a missing PDF form field when detection overlooks it. Set coordinates, size, alignment, and field type to correct the false negative.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"x": "<x>",
"y": "<y>",
"w": "<w>",
"h": "<h>"
},
"name": "add_field"
}
}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 |