gmail_label_create
Create labels in a Gmail account, including nested labels by using 'Parent/Child' names. Existing labels are returned unchanged.
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 |