Delete a draft
delete_draftPermanently deletes a draft from the Drafts folder. Only works on drafts, never on received messages. Cannot be undone.
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": {
"accountId": "<accountId>",
"uid": "<uid>"
},
"name": "delete_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | UID of the draft, as returned by list_drafts. | |
| accountId | Yes | Account id, as returned by list_accounts. |