gmail_modifyThread
Apply or remove labels to every message in a Gmail thread in one action, simplifying bulk label management.
Instructions
Modify labels on all messages in a Gmail thread 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": {
"threadId": "<threadId>"
},
"name": "gmail_modifyThread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes | Thread ID. | |
| addLabelIds | No | Labels to add. | |
| removeLabelIds | No | Labels to remove. |