gmail_apply_labels
Adds or removes Gmail labels on messages or threads to organize and categorize email without changing or deleting the underlying content.
Instructions
Adds and/or removes Gmail labels. TRASH is protected and can only be reached through gmail_trash_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": {
"id": "<id>"
},
"name": "gmail_apply_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | No | message | |
| add_labels | No | ||
| remove_labels | No |