{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a label using the given label name.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."},"name":{"type":"string"}},"required":["owner","repo","name"],"additionalProperties":false},"body":{"type":"object","properties":{"new_name":{"type":"string","description":"The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png \":strawberry:\"). For a full list of available emoji and codes, see \"[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet).\""},"color":{"type":"string","description":"The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`."},"description":{"type":"string","description":"A short description of the label. Must be 100 characters or fewer."},"archived":{"type":"boolean","description":"Whether to archive or unarchive the label. Archived labels cannot be added to issues or pull requests. For more information, see \"[Archiving labels](https://docs.github.com/issues/organizing-your-work-with-labels/managing-labels).\""}},"examples":[{"new_name":"bug :bug:","description":"Small bug fix required","color":"b01f26"}]}},"required":["path"],"additionalProperties":false},"name":"Update a label","id":"github.issues.update-label","example":{"path":{"owner":"octocat","repo":"hello-world","name":"example"}},"maxRequests":1,"summary":false}}