update_label
Rename a Gmail label or update its background and text colors together without changing any messages.
Instructions
Rename a label, or recolor it (background_color and text_color together, from Gmail's palette). Changes no 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": {
"mailbox": "<mailbox>",
"label": "<label>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| label | Yes | ||
| mailbox | Yes | A connected mailbox address (see list_mailboxes) | |
| text_color | No | ||
| background_color | No |