delete_folder
Delete an empty email folder or label by specifying its path with the required 'Folders/' or 'Labels/' prefix.
Instructions
🗑️ Delete an email folder or label (must be empty). Works with 'Folders/' or 'Labels/' prefixes
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": {
"folderName": "<folderName>"
},
"name": "delete_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folderName | Yes | Folder path to delete (e.g., 'Folders/MyFolder' or 'Labels/Work') |