Create Gmail Label
gmail_create_labelCreate a new Gmail label to organize emails. Supports nested labels like 'Finance/Invoices' for structured categorization.
Instructions
Create a new user label (tag) in Gmail.
Args:
name (string): Label name. Supports nesting with "/" (e.g., "Finance/Invoices")
Returns: The created label with its ID, name, and visibility settings.
Examples:
Use when: "Create a label called 'Compliance'"
Use when: "Add a new Gmail tag 'Projects/Alpha'"
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": {
"name": "<name>"
},
"name": "gmail_create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name, supports nesting with '/' (e.g. 'Finance/Invoices') |