Labels Create
labels_createCreate a label in the project. Names are unique ignoring case: check labels_list first and reuse one that exists. Without a colour it takes the next one of the palette. Returns the new label_id, for labels_assign. Undoable. Uses no AI and no credits.
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": {
"project_id": "<project_id>",
"name": "<name>"
},
"name": "labels_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The label's name: 1 to 100 characters, unique in the project ignoring case. | |
| colour | No | The label's colour, from the fixed palette. | |
| project_id | Yes | Project UUID (database id). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The label's name: 1 to 100 characters, unique in the project ignoring case. | |
| colour | Yes | The label's colour, from the fixed palette. | |
| label_id | Yes | Label UUID, from labels_list. | |
| created_at | Yes | When the label was made. | |
| item_count | Yes | How many items of all kinds carry it. |