gmail_update_label
Rename or restyle a Gmail label, adjusting its name, colors, and visibility. Optionally update child labels when renaming a parent.
Instructions
Rename and/or restyle a Gmail label. Gmail stores hierarchy in the name, so renaming a parent does not rename its children unless renameDescendants is true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| account | Yes | Configured Gmail account alias, e.g. work, personal, support. | |
| newName | No | ||
| textColor | No | Hex colour from Gmail's fixed label palette, e.g. #ffffff. | |
| backgroundColor | No | Hex colour from Gmail's fixed label palette, e.g. #fb4c2f. | |
| renameDescendants | No | Required when renaming a label that has children. True rewrites their prefix too; false renames only the parent. | |
| labelListVisibility | No | ||
| messageListVisibility | No |