delete_document_forever
Permanently delete a document that is already in the Trash, with its fields and stored files.
destructivewaits for confirmSends, cancels or emails people. Clients ask you before running it.
What it does
Permanently delete a document that is already in the Trash, with its fields and stored files. This cannot be undone. Owners and admins only (not API keys), as on the web; trash it first with trash_document. Returns { id, name, deleted: true }. 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 | |
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_document_forever",
"arguments": {
"document_id": "<document_id>"
}
}
}Input schema
The JSON Schema the server lists for this tool in tools/list.
{
"type": "object",
"additionalProperties": false,
"properties": {
"document_id": {
"type": "string"
},
"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"
]
}restore_document
Bring a document back from the Trash (within its 30 days), as Restore does on the web.
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.