gmail_batch_modify_labels
Apply label additions or removals to up to 25 Gmail messages or threads in one call, with trash protection and a single audit entry.
Instructions
Applies label changes to up to 25 messages/threads. TRASH stays protected (use trash tools). Single audit entry.
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>"
},
"name": "gmail_batch_modify_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Target IDs (max 25 per call) | |
| type | No | message | |
| add_labels | No | ||
| remove_labels | No |