add_issue_labels
Add labels to a Gitea issue by its number. Provide label names to attach, preserving existing labels.
Instructions
Add labels to an issue by its index. labels is an array of label NAMES (strings) — NOT ids. Get valid names from list_labels; a name that does not exist errors (404). ADDITIVE: existing labels are kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Issue number | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| labels | Yes | List of label names to add |