update_label
Rename a Gmail label or change its visibility in the label list and message list.
Instructions
Rename or change visibility of a user label. Requires gmail.modify scope.
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": {
"account": "<account>",
"label_id": "<label_id>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | A connected account ref (see list_accounts). | |
| label_id | Yes | ||
| name | No | ||
| label_list_visibility | No | ||
| message_list_visibility | No |