gmail_label_create
Creates Gmail labels, including nested Parent/Child labels, and returns an existing label unchanged when it already exists. Create each parent level first.
Instructions
Create a label. Nested labels use 'Parent/Child' names; create each parent level first. Idempotent: an existing label is returned as-is.
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_label_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| account | Yes | ||
| label_list_visibility | No | labelShow | |
| message_list_visibility | No | show |