email_label
Add or remove Gmail labels on a specific email to categorize messages or update their status.
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 |