gmail_modify_labels
Add or remove labels from a Gmail message to organize inbox efficiently. Specify label IDs to apply changes.
Instructions
Add or remove labels from a Gmail message
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": "gmail_modify_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messageId | Yes | The message ID | |
| addLabelIds | No | Comma-separated label IDs to add | |
| removeLabelIds | No | Comma-separated label IDs to remove |