remove_issue_label
Remove a single label from an issue by providing its numeric label ID. Requires the label to be currently attached, otherwise an error is returned.
Instructions
Remove ONE label from an issue. Takes the label id (number) — NOT the name. Get the id from list_labels (issue labels carry their id). Errors if the label is not currently on the issue.
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": {
"index": "<index>",
"id": "<id>"
},
"name": "remove_issue_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Label ID to remove | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| index | Yes | Issue number | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) |