update_label
Update an existing GitHub label's name, color, or description in a specified repository. Specify the account, repository, and current label name to modify its details without deleting it.
Instructions
Update an existing label name, color, or description. This tool cannot delete 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": {
"account": "<account>",
"repository": "<repository>",
"currentName": "<currentName>"
},
"name": "update_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| account | Yes | ||
| newName | No | ||
| hostname | No | ||
| repository | Yes | Repository in owner/name format | |
| currentName | Yes | ||
| description | No |