submit_pull_request_review
Submit a pull request review to approve, request changes, or add comments using specified repository details and review ID for GitHub repositories.
Instructions
Submit a pull request review (approve, request changes, or comment)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | No | The body text of the review submission | |
event | Yes | The review action to perform | |
owner | Yes | Repository owner (username or organization) | |
pull_number | Yes | Pull request number | |
repo | Yes | Repository name | |
review_id | Yes | The ID of the review |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {
"description": "The body text of the review submission",
"type": "string"
},
"event": {
"description": "The review action to perform",
"enum": [
"APPROVE",
"REQUEST_CHANGES",
"COMMENT"
],
"type": "string"
},
"owner": {
"description": "Repository owner (username or organization)",
"type": "string"
},
"pull_number": {
"description": "Pull request number",
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"review_id": {
"description": "The ID of the review",
"type": "number"
}
},
"required": [
"owner",
"repo",
"pull_number",
"review_id",
"event"
],
"type": "object"
}