Update Label Tool
update_label_toolModify an existing GitLab project label by ID to change its name, color, description, or priority, keeping project labels accurate.
Instructions
Update an existing 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>",
"label_id": "<label_id>"
},
"name": "update_label_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | New color hex code | |
| label_id | Yes | Label ID | |
| new_name | No | New label name | |
| priority | No | New priority | |
| project_id | Yes | Project ID or path | |
| description | No | New description |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||