delete_folder
Remove an empty email folder after moving or deleting its messages first, enabling mailbox cleanup without deleting emails.
Instructions
Delete an EMPTY folder. Move or delete its emails 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": {
"path": "<path>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| account | No | Mailbox: WORK | PERSONAL. Default WORK |