gitlab_update_label
Update an existing GitLab project label's name, color, description, or priority to reflect changes.
Instructions
Update a project label (/projects/:id/labels).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | GitLab project ID. Omit this field unless the user explicitly provided a value. When omitted, the tool tries the current runtime config defaults from WORKFLOW_ISSUE_PROJECT_ID or WORKFLOW_CODE_PROJECT_ID. If both are unset, or both are set to different values, the tool returns a missing-parameter error and you must pass project_id explicitly. Do not infer or auto-generate this value. | |
| name | No | Existing label name. | |
| new_name | No | New label name. | |
| color | No | New color, e.g. #00AAFF. | |
| description | No | New label description. | |
| priority | No | New label priority. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Updated label payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |