delete_folder
Delete an email folder or mailbox. Requires a confirmation flag to proceed, otherwise returns a preview warning for safe handling.
Instructions
Delete an email folder/mailbox. SAFETY: requires confirm=true to actually delete. Without confirm, returns a preview warning.
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_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the folder to delete | |
| account | No | Account name (uses default if omitted) | |
| confirm | No | Set to true to actually delete. Without this, only shows a preview warning. |