gmail_create_label
Create a Gmail label with optional nesting by specifying a path such as 'Clients/Acme'. Configure label colors and visibility settings for a specified account.
Instructions
Create a Gmail label. Nest it by using a path name such as "Clients/Acme".
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>",
"name": "<name>"
},
"name": "gmail_create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| account | Yes | Configured Gmail account alias, e.g. work, personal, support. | |
| 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. | |
| labelListVisibility | No | ||
| messageListVisibility | No |