create_label
Create a label in a Gitea repository. Provide a unique name and a 6-digit hex color (e.g., #ff0000); returns the created label with its ID.
Instructions
Create a label. name required and MUST be unique in the repo (a duplicate -> conflict error). color is 6-digit hex, with or without a leading '#' (e.g. '#ff0000' or 'ff0000'). description optional. Returns the label with its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Label name | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| color | Yes | Label color (6-digit hex, e.g. #ff0000) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| description | No | Label description |