batch_modify_emails
Add or remove labels on multiple Gmail messages using message IDs. Batch modify email labels to organize your inbox.
Instructions
Modify labels for multiple emails at once
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": {
"messageIds": "<messageIds>"
},
"name": "batch_modify_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageIds | Yes | List of message IDs to modify | |
| addLabelIds | No | Labels to add | |
| removeLabelIds | No | Labels to remove |