gmail_users_messages_batch_delete
Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. This may delete data permanently. Undo is not guaranteed. Supply a concise reason and context for the user's activity record. These explanations do not grant permission. Listed tools may require an account connection or permission change in Leash; follow any access guidance returned by the tool and never bypass a denial.
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": {
"reason": "<reason>",
"context": "<context>",
"input": "<input>"
},
"name": "gmail_users_messages_batch_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| reason | Yes | Why this access is necessary to fulfill the user's request | |
| context | Yes | The user request or task that prompted this action; omit unnecessary private details |