resend_document
Resend a sent document, as Resend on its web page does: the latest round is voided with your reason and a new round goes out on the same document to the same people (or with some of them changed: recipients[] by index into the latest round's recipients, as get_document lists them), with the same boxes, the sender's values, routing, expiry length and reminders.
destructivewaits for confirmSends, cancels or emails people. Clients ask you before running it.
What it does
Resend a sent document, as Resend on its web page does: the latest round is voided with your reason and a new round goes out on the same document to the same people (or with some of them changed: recipients[] by index into the latest round's recipients, as get_document lists them), with the same boxes, the sender's values, routing, expiry length and reminders. Everyone on the new round is emailed a fresh link. Allowed for a round that is out, declined or expired (not completed, voided or one the sender signed: 409 not_resendable), for its sender, an owner/admin or someone who can edit the document (else 403). Use remind_envelope to nudge people on the same round instead. Returns { envelope_id } of the new round. 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 | |
reasonrequired | string | Why it is sent again; stored on the audit trail.Up to 1000 characters |
recipients | object[] | Only the people to change; the others are copied unchanged.Up to 50 items |
indexrequired | integer | Position in the latest round's recipients (0 = first).At least 0 |
namerequired | string | Up to 256 characters |
emailrequired | string | Up to 254 characters |
delivery | string | Switch how their link reaches them (absent: kept). "embedded" is never emailed and needs the Business plan or a sandbox; after a downgrade, switch an embedded person to "email" to resend.One of: email, embedded |
esign_risk_acknowledged | boolean | The sender acknowledges the agency may reject an electronic signature on this form (warn-mode hosted forms only). |
idempotency_key | string | Same key = same resend: a retry finishes or returns the first one instead of sending again.Up to 255 characters |
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": "resend_document",
"arguments": {
"document_id": "<document_id>",
"reason": "<reason>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"document_id": {
"type": "string"
},
"reason": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"description": "Why it is sent again; stored on the audit trail."
},
"recipients": {
"type": "array",
"maxItems": 50,
"description": "Only the people to change; the others are copied unchanged.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"description": "Position in the latest round's recipients (0 = first)."
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"email": {
"type": "string",
"maxLength": 254
},
"delivery": {
"type": "string",
"enum": [
"email",
"embedded"
],
"description": "Switch how their link reaches them (absent: kept). \"embedded\" is never emailed and needs the Business plan or a sandbox; after a downgrade, switch an embedded person to \"email\" to resend."
}
},
"required": [
"index",
"name",
"email"
]
}
},
"esign_risk_acknowledged": {
"type": "boolean",
"description": "The sender acknowledges the agency may reject an electronic signature on this form (warn-mode hosted forms only)."
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Same key = same resend: a retry finishes or returns the first one instead of sending again."
},
"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",
"reason"
]
}delete_document_forever
Permanently delete a document that is already in the Trash, with its fields and stored files.
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.