Cancel a queued send
cancel_queued_sendWithdraw one of YOUR OWN queued sends while it is still awaiting the owner's approval, and take its draft out of the mailbox. Only a send that THIS token queued - check queued_by_this_token on list_queued_sends - and that is still 'pending' can be cancelled. Everything else is refused: an approved send may already have reached the mail server even while sent_at is unset, so an approved send is never cancellable, and a rejected, expired or draft_gone send is already a closed record.
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": {
"pending_send_id": "<pending_send_id>"
},
"name": "cancel_queued_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pending_send_id | Yes | The id of the queued send to withdraw, from list_queued_sends. Only one queued by this token can be cancelled. |