gitlab_create_label
Add a new label to a GitLab project for organizing issues and merge requests.
Instructions
Create 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 | Label name. | |
| color | No | Label color, e.g. #FF8800. | |
| description | No | Label description. | |
| priority | No | Label priority. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Created label payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |