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

NameTypeDescription
owner requiredstringThe account owner of the repository. The name is not case…
repo requiredstringThe name of the repository without the .git extension. The…
pull_number requiredintegerThe number that identifies the pull request.
commit_idstringThe SHA of the commit that needs a review. Not using the latest commit SHA may…
bodystring**Required** when using REQUEST_CHANGES or COMMENT for the event parameter.…
eventAPPROVE | REQUEST_CHANGES | COMMENTThe review action you want to perform. The review actions include: APPROVE…
commentsarrayUse 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from GitHub API