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).
destructivewaits for confirmSends, cancels or emails people. Clients ask you before running it.
What it does
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.
Two calls
confirm: true, it does nothing and returns an error that says what would happen. Show that to the user, then call again with the same inputs and confirm: true.Inputs
| Name | Type | Description |
|---|---|---|
document_idrequired | string | The document's id. |
field_idrequired | string | The box's id, from list_fields. |
confirm | boolean | true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user. |
Call it
Your MCP client builds this request for you. This is what it sends to https://appliflo.com/api/mcp, with the required inputs filled with placeholders.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "delete_field",
"arguments": {
"document_id": "<document_id>",
"field_id": "<field_id>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"properties": {
"document_id": {
"type": "string",
"description": "The document's id."
},
"field_id": {
"type": "string",
"description": "The box's id, from list_fields."
},
"confirm": {
"type": "boolean",
"description": "true to really do it. Without it nothing happens: you get an error describing what would happen, to show the user."
}
},
"required": [
"document_id",
"field_id"
]
}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.
list_groups
List a document's choice questions: groups of tick boxes answered as one question (e.g.