# delete_field

> Delete one box from a document, as the app's box editor does (e.g. a box detection found that isn't a real field).

Tool of the AppliFlo MCP server at `https://appliflo.com/api/mcp`. Kind: destructive: it emails people or cancels a send, so clients ask you first.

Delete one box from a document, as the app's box editor does (e.g. a box detection found that isn't a real field). Its value and its place in a choice question go with it. Returns { deleted: field_id }; a box that is already gone is 404. The app can undo this, MCP can't: to put a box back, draw it again with add_field. To fix a box instead, use correct_field. Two steps: called WITHOUT confirm: true it does nothing and returns an error saying what it would do (the details are in structuredContent); show that to the user and, once they agree, call again with the same arguments and confirm: true.

## Inputs

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `document_id` | string | yes | The document's id |
| `field_id` | string | yes | The box's id, from list_fields |
| `confirm` | boolean | no | true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user |
