Home / Servers / GitHub API / pulls_create_review
Create a review for a pull request
An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.
Create a review for a pull request Creates a review on a specified pull request. This endpoint triggers notifications. Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see… [POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews]
Name on the gateway: github_api__pulls_create_review · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
owner required | string | The account owner of the repository. The name is not case… |
repo required | string | The name of the repository without the .git extension. The… |
pull_number required | integer | The number that identifies the pull request. |
commit_id | string | The SHA of the commit that needs a review. Not using the latest commit SHA may… |
body | string | **Required** when using REQUEST_CHANGES or COMMENT for the event parameter.… |
event | APPROVE | REQUEST_CHANGES | COMMENT | The review action you want to perform. The review actions include: APPROVE… |
comments | array | Use the following table to specify the location, destination, and contents of… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "github_api__pulls_create_review",
"arguments": {
"owner": "…",
"repo": "…",
"pull_number": 0
}
}Or connect the GitHub API server directly, which lists 1,221 tools including this one:
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the create a review for a pull request tool with owner set to ….