Skip to Content

void_envelope

Permanently cancel an envelope (a reason is required and is stored on the audit trail).

destructivewaits for confirmSends, cancels or emails people. Clients ask you before running it.

What it does

Permanently cancel an envelope (a reason is required and is stored on the audit trail). This is irreversible — a voided envelope can never be sent again; the sender would need to start over with a new envelope. Fails if the envelope's current status can't transition to voided (e.g. it's already completed). 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

Called without 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

NameTypeDescription
envelope_idrequiredstring
reasonrequiredstringUp to 1000 characters
confirmbooleantrue 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": "void_envelope",
    "arguments": {
      "envelope_id": "<envelope_id>",
      "reason": "<reason>"
    }
  }
}

Input schema

The JSON Schema the server lists for this tool in tools/list.

{
  "type": "object",
  "properties": {
    "envelope_id": {
      "type": "string"
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1000
    },
    "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": [
    "envelope_id",
    "reason"
  ]
}

On this page