empty_trash
Empties the Trash folder by deleting all messages, returning the number of items removed.
Instructions
Empty the Trash folder.
Discovers Trash via \Trash SPECIAL-USE with localized fallbacks, selects it, marks all messages +FLAGS \Deleted, and EXPUNGEs. Returns the count of deleted messages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "empty_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||