update_label
Rename a Gmail label or update its text/background color and list visibility to organize messages and control how labels appear.
Instructions
Rename a label or change its color or visibility.
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": {
"labelId": "<labelId>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| labelId | Yes | Label ID or exact current name. | |
| textColor | No | ||
| colorPreset | No | One of: BLACK, DARK_GRAY, GRAY, LIGHT_GRAY, WHITE, RED, ORANGE, YELLOW, GREEN, MINT, TEAL, BLUE, PURPLE, PINK, DARK_RED, DARK_ORANGE, DARK_GREEN, DARK_BLUE, DARK_PURPLE, DARK_PINK, BROWN. | |
| backgroundColor | No | ||
| labelListVisibility | No | ||
| messageListVisibility | No |