gmail_empty
Permanently delete every conversation in Gmail's Trash or Spam folder; requires confirm=true to prevent accidental data loss and returns the deletion count.
Instructions
Empty the Trash or the Spam folder: EVERY conversation in it is permanently deleted.
Returns how many conversations Gmail said it would delete ('count').
Requires confirm=true (outward-facing or destructive).
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": "gmail_empty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | 'trash' or 'spam'. | trash |
| confirm | No | Must be true: this action is outward-facing or destructive. |