delete_all_in_folder
Move all emails from a specified folder to Trash to clear it quickly without manual deletion.
Instructions
Delete all emails in a folder by moving them to Trash.
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": {
"folder_name": "<folder_name>"
},
"name": "delete_all_in_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder_name | Yes | Folder to clear (e.g. "Spam", "LinkedIn", "Bulk Mail"). Use list_folders to see available names. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |