Edit label
gh_edit_labelModify the name, color, or description of an existing GitHub label, then verify the change through a readback to ensure accuracy.
Instructions
Destructive write: edit exactly one existing label's name, color, or description after ordinary write authorization. One mutation attempt is followed by authoritative semantic readback of the resulting label; an ambiguous edit is never retried automatically. It does not delete labels or mutate issue content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Existing label name. | |
| repo | Yes | GitHub repository name without the owner prefix. | |
| color | No | Replacement six-character hexadecimal label color. | |
| owner | Yes | GitHub repository owner or organization login. | |
| new_name | No | Replacement label name. | |
| description | No | Replacement label description. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| name | Yes | ||
| color | No | ||
| message | Yes | ||
| warning | No | ||
| request_id | No | ||
| description | No | ||
| write_completed | Yes | ||
| readback_completed | Yes | ||
| precondition_checked | Yes | ||
| state_matches_requested | Yes |