gmail_label_threads
Apply or remove Gmail labels on all threads matching a search query, so you can organize and route email in bulk without opening each conversation.
Instructions
Apply or remove labels on matching threads
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": {
"query": "<query>"
},
"name": "gmail_label_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| addLabels | No | ||
| removeLabels | No |