email_label
Add or remove labels on Gmail emails by specifying an account and email ID, with options to apply or clear multiple labels in a single operation to organize and categorize messages.
Instructions
Add or remove labels on an email (Gmail only)
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": {
"accountId": "<accountId>",
"emailId": "<emailId>"
},
"name": "email_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | ||
| accountId | Yes | ||
| addLabels | No | ||
| removeLabels | No |