# add_field

> Draw a new box on a document page, as a person does with the app's box editor: use it for a box detection missed (e.g. a signature line or a date with no field). type: text, date (typed date), checkbox, signature, or date_signed (stamped with the signing date of the nearest signature on the page). page is 0-based and bbox is [x0, y0, x1, y1] in PDF points, the same coordinates list_fields shows for the boxes around it; the box is kept at least 6 pt each way and inside the page.

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: asks first: it changes something in your workspace, so clients ask you first.

Draw a new box on a document page, as a person does with the app's box editor: use it for a box detection missed (e.g. a signature line or a date with no field). type: text, date (typed date), checkbox, signature, or date_signed (stamped with the signing date of the nearest signature on the page). page is 0-based and bbox is [x0, y0, x1, y1] in PDF points, the same coordinates list_fields shows for the boxes around it; the box is kept at least 6 pt each way and inside the page. A signature or date_signed box is filled by the signer. Returns the new field as list_fields shows it (use its id with fill_document, send_envelope or correct_field). Recorded in the document's correction log, as the app's edits are. To fix an existing box, use correct_field; to remove one, delete_field.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | string | yes | The document's id |
| `page` | integer | yes | 0-based page number. 0 to 2000 |
| `bbox` | number[] | yes | [x0, y0, x1, y1] in PDF points, as list_fields' bbox. 4 to 4 items |
| `type` | string | yes | One of: text, date, checkbox, signature, date_signed |
| `label` | string | yes | What the box asks for, e.g. "Applicant signature". Up to 300 characters |
