Create Label Tool
create_label_toolCreates a new label in a GitLab project with a name, color, and optional priority or description, enabling organized issue and merge request tracking.
Instructions
Create a new label in a GitLab project.
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>",
"color": "<color>"
},
"name": "create_label_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name | |
| color | Yes | Color hex code (e.g., "#FF0000") or named color | |
| priority | No | Label priority (lower = higher priority) | |
| project_id | Yes | Project ID or path | |
| description | No | Label description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||