create_label
Create a new Gmail label in a specific account to organize emails efficiently. Provide account ID and label name; optionally set visibility options.
Instructions
Create a new Gmail label in one account (account required).
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": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name. | |
| account | Yes | Account id. | |
| label_list_visibility | No | Gmail labelListVisibility value (default: labelShow). | labelShow |
| message_list_visibility | No | Gmail messageListVisibility value (default: show). | show |