Create label
create_labelCreate a new label (name must be unique in the org; color is a palette index 0-9). If a label with that name already exists the call fails with already_exists and data.existing_label_id. The created label is an ordinary label - it can never be an AI send-block or AI-protected label.
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": "create_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| color | Yes | ||
| created | Yes | ||
| label_id | Yes |