update_label
Update a repository label by numeric ID. Modify name, color, or description using partial fields.
Instructions
Update a label by id (number — NOT the name). Provide any of name/color/description (PATCH semantics). color is 6-digit hex. Get the id from list_labels.
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": {
"id": "<id>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Label ID | |
| name | No | New label name | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| color | No | New label color (6-digit hex) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) | |
| description | No | New label description |