Cancel scheduled mail
cancel_scheduled_mailCancel a letter or postcard that was sent with an arrival date and is waiting for its mail date. Free until it goes to the printer: nothing is mailed, and what paid for it goes back to the account unless it expired or was refunded while the mail waited; the answer says what came back. Requires the orderId (from list_orders or the send) and confirm: true, after the person agrees, because it cannot be undone. Pay & Send orders and mail with no arrival date cannot be cancelled here.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"orderId": "<orderId>",
"confirm": "<confirm>"
},
"name": "cancel_scheduled_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Set true once the person has agreed: a cancelled order cannot be restored | |
| orderId | Yes | The orderId of the scheduled letter or postcard, from list_orders |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| orderId | Yes | ||
| returned | Yes | What went back to the account | |
| alreadyCancelled | Yes | True when it had already been cancelled: nothing changed now |