google_gmail_modify_labels
Manage Gmail labels by adding or removing them from specific emails using the message ID. Integrates with AI clients for efficient email organization.
Instructions
Add or remove labels from an email
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": {
"messageId": "<messageId>"
},
"name": "google_gmail_modify_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| addLabelIds | No | Labels to add to the message | |
| messageId | Yes | ID of the email to modify | |
| removeLabelIds | No | Labels to remove from the message |