update_label
Change an existing Gmail label's name or visibility settings. Update label display and message list options to organize your inbox effectively.
Instructions
Update an existing Gmail label.
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": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the label to update | |
| name | No | New name for the label | |
| label_list_visibility | No | labelShow, labelShowIfUnread, or labelHide | |
| message_list_visibility | No | show or hide |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |