delete_mailbox
Delete an iCloud Mail mailbox or folder only after it is empty; optionally preview the removal with a dry run.
Instructions
Delete a mailbox/folder. The folder must be empty first.
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": {
"name": "<name>"
},
"name": "delete_mailbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Mailbox path to delete | |
| dryRun | No | If true, report exactly what would change and do not modify anything |