gmail_batch_trash
Soft-deletes up to 25 Gmail messages or threads in one reversible call with a required reason, returning a single audit entry with per-item results.
Instructions
Soft-deletes up to 25 messages/threads in one call (reversible via restore). Requires a reason. Single audit entry with per-item results.
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": {
"ids": "<ids>",
"reason": "<reason>"
},
"name": "gmail_batch_trash"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Target IDs (max 25 per call) | |
| type | No | message | |
| reason | Yes |