delete_folder
Delete an email folder or label after confirming it is empty. Use it to remove unused folders and keep your Proton Mail structure clean.
Instructions
Delete an email folder/label (must be empty)
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 | Folder path to delete |