gws-mcp__gmail_update_label
Rename an existing Gmail label, or change its visibility. Takes the label ID (from gmail_list_labels), not the label name. Renaming a label keeps it on every message already labelled with it.
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": {
"label_id": "<label_id>"
},
"name": "gws-mcp__gmail_update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New label name. Nested labels use '/' (e.g. 'Alerts/Invoices') | |
| account | No | Optional email address of the connected account to use (e.g. 'user@gmail.com'). If omitted, the default account is used. | |
| label_id | Yes | The label ID to update (from gmail_list_labels) | |
| label_list_visibility | No | Whether the label shows in the label list: labelShow, labelShowIfUnread, or labelHide | |
| message_list_visibility | No | Whether the label shows on messages in the message list: show or hide |