delete_label
Permanently delete a Gitea label by its numeric ID. This action is irreversible and removes the label from every issue; get the ID from list_labels and confirm before deleting.
Instructions
Permanently delete a label by id (number — NOT the name). IRREVERSIBLE and also removes it from EVERY issue that currently has it. Get the id from list_labels and confirm with the user before deleting.
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": "delete_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Label ID | |
| repo | No | Repository name (defaults to GITEA_DEFAULT_REPO) | |
| owner | No | Repository owner (defaults to GITEA_DEFAULT_OWNER) |