{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Submits a pending review for a pull request. For more information about creating a pending review for a pull request, see \"[Create a review for a pull request](https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request).\"\n\nThis endpoint supports the following custom media types. For more information, see \"[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types).\"\n\n- **`application/vnd.github-commitcomment.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.\n- **`application/vnd.github-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.\n- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.\n- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.","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."},"pull_number":{"type":"integer","description":"The number that identifies the pull request."},"review_id":{"type":"integer","description":"The unique identifier of the review."}},"required":["owner","repo","pull_number","review_id"],"additionalProperties":false},"body":{"type":"object","properties":{"body":{"type":"string","description":"The body text of the pull request review"},"event":{"type":"string","description":"The review action you want to perform. The review actions include: `APPROVE`, `REQUEST_CHANGES`, or `COMMENT`. When you leave this blank, the API returns _HTTP 422 (Unrecognizable entity)_ and sets the review action state to `PENDING`, which means you will need to re-submit the pull request review using a review action.","enum":["APPROVE","REQUEST_CHANGES","COMMENT"]}},"required":["event"],"examples":[{"body":"Here is the body for the review.","event":"REQUEST_CHANGES"}]}},"required":["path","body"],"additionalProperties":false},"name":"Submit a review for a pull request","id":"github.pulls.submit-review","example":{"path":{"owner":"octocat","repo":"hello-world","pull_number":1,"review_id":1},"body":{"body":"Here is the body for the review.","event":"REQUEST_CHANGES"}},"maxRequests":1,"summary":false}}