GitHub & Code
reviewPullRequest
Review Pull Request
Submit a review on a connected GitHub repo's pull request: APPROVE, REQUEST_CHANGES, or COMMENT, acting as the user's connected GitHub account.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "approve PR #N", and it calls reviewPullRequest.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"event": "<event>",
"owner": "<owner>",
"pullNumber": 1,
"repo": "<repo>"
},
"name": "reviewPullRequest"
}Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account. Not allowed together with as:"reviewer".asstringoptionalWhich identity reviews. "owner" (default) acts as account or the Primary. "reviewer" acts as the Space's reviewer GitHub identity, the second login a Space admin bound in Settings, Tools, GitHub, so a seat's own PR can be approved on the…bodystringoptionalReview comment (markdown). Required for REQUEST_CHANGES and COMMENT; optional for APPROVE.confirmbooleanoptionalMust be true to APPROVE: approving is an external state change and needs explicit per-action user consent. Ignored for REQUEST_CHANGES / COMMENT.eventstringrequiredThe review action to submitownerstringrequiredRepository ownerpullNumbernumberrequiredPull request numberrepostringrequiredRepository namespaceIdstringoptionalWith as:"reviewer", the Space whose reviewer identity to use. Omit to use the binding you set yourself.
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- approve PR #N
- request changes on that PR
Pair it with
The verbs that finish the job.
Questions
What does reviewPullRequest do?
Submit a review on a connected GitHub repo's pull request: APPROVE, REQUEST_CHANGES, or COMMENT, acting as the user's connected GitHub account. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use reviewPullRequest from Claude or ChatGPT?
Connect your AI to The Cloud at https://mcp.thecloud.so/mcp and sign in once. Then ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "approve PR #N", and it calls reviewPullRequest.
Is reviewPullRequest safe to let an AI call?
reviewPullRequest deletes or sends, and calling it again does not undo it, so a careful client confirms with you before it runs. It reaches a system outside The Cloud on your behalf.
Connect
One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.