Delete mail folder
email_delete_folderDelete an IMAP folder and all its messages permanently. This action cannot be undone.
Instructions
Delete an IMAP folder. The folder and its messages are removed — this 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": {
"path": "<path>"
},
"name": "email_delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Folder path to delete. | |
| server | No | Server/account id to target. Defaults to the configured default server. |