GitHub Create Review
GitHubCreatePullRequestReviewTool · Tools · Connections
Review a pull request: a summary, a verdict, and inline comments in one step. event APPROVE, REQUEST_CHANGES, or COMMENT submits it at once (REQUEST_CHANGES and COMMENT need a body); without an event the review stays PENDING, visible only to its author, until github_submit_pull_request_review or github_delete_pending_pull_request_review. Each inline comment names a file path and the line it ends on, on side RIGHT (the head, default) or LEFT (the base); start_line makes it a range. GitHub refuses a verdict other than COMMENT on your own pull request.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
body | string | No | Review summary. |
comments | any[] | No | Inline comments to attach. |
commit_id | string | No | Commit SHA reviewed; the head commit when absent. |
event | any | No | APPROVE, REQUEST_CHANGES, or COMMENT submits the review now; absent leaves it PENDING. |
owner | string | No | Repository owner. Defaults to the connection's installation account or OAuth user; give it for organization or collaborator repositories. |
pull_number | integer | Yes | Pull request number. |
repo | string | Yes | Repository name, without the owner. |