delete_message
Delete an email message from a specified mailbox, routing it to the correct Trash folder using Apple Mail's native delete action.
Instructions
Delete a message. Uses Mail's delete verb which routes to the correct Trash.
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": {
"messageId": "<messageId>",
"mailboxName": "<mailboxName>",
"accountName": "<accountName>"
},
"name": "delete_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The numeric ID of the message | |
| accountName | Yes | The name of the account containing the mailbox | |
| mailboxName | Yes | The name of the mailbox containing the message |