{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Adds labels to 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 labels to add to the issue's existing labels. You can also pass an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. To replace all of the labels for an issue, use \"[Set labels for an issue](https://docs.github.com/rest/issues/labels#set-labels-for-an-issue).\"","items":{"oneOf":[{"type":"string"},{"type":"object","properties":{"name":{"type":"string","description":"The name of the label to add."},"rationale":{"type":"string","description":"Optional reasoning for adding this label."},"suggest":{"type":"boolean","description":"If `true`, the label is stored as a pending suggestion for human review rather than applied directly."},"confidence":{"type":"string","description":"The confidence level for this label choice.","enum":["low","medium","high"]}},"required":["name"]}]}}}},{"type":"array","items":{"type":"string"}},{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"rationale":{"type":"string","description":"Optional reasoning for adding this label."},"suggest":{"type":"boolean","description":"If `true`, the label is stored as a pending suggestion for human review rather than applied directly."},"confidence":{"type":"string","description":"The confidence level for this label choice.","enum":["low","medium","high"]}},"required":["name"]}}],"examples":[{"labels":["bug","enhancement"]}]}},"required":["path"],"additionalProperties":false},"name":"Add labels to an issue","id":"github.issues.add-labels","example":{"path":{"owner":"octocat","repo":"hello-world","issue_number":1}},"maxRequests":1,"summary":false}}