{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Removes any previous labels and sets the new labels for an issue.","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."},"issue_number":{"type":"integer","description":"The number that identifies the issue."}},"required":["owner","repo","issue_number"],"additionalProperties":false},"body":{"oneOf":[{"type":"object","properties":{"labels":{"type":"array","minItems":1,"description":"The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see \"[Add labels to an issue](https://docs.github.com/rest/issues/labels#add-labels-to-an-issue).\"","items":{"type":"string"}}}},{"type":"array","minItems":1,"items":{"type":"string"}},{"type":"object","properties":{"labels":{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}}}},{"type":"array","minItems":1,"items":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]}},{"type":"string"}],"examples":[{"labels":["bug","enhancement"]}]}},"required":["path"],"additionalProperties":false},"name":"Set labels for an issue","id":"github.issues.set-labels","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1}},"maxRequests":1,"summary":false}}