GitHub & Code
updatePullRequest
Update Pull Request
Edit an open pull request on a connected GitHub repo: retitle it, replace or patch its body, retarget its base, or move it in or out of draft.
Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "retitle PR #N", and it calls updatePullRequest.
Example call
The MCP tools/call params, with the required arguments only.
{
"arguments": {
"owner": "<owner>",
"pullNumber": 1,
"repo": "<repo>"
},
"name": "updatePullRequest"
}Arguments
accountstringoptionalConnected GitHub login to act as. Defaults to the Primary account.basestringoptionalNew base branch to retarget the PR ontobodystringoptionalNew PR body (markdown), replacing the current one in full. Do not pass with patch.citationRefstringoptionalThe BuildDoc, Task, or ticket this PR implements, as the signature's leading cite chip. Pass a Linear identifier (CLOUD-183, TEK-268), a Linear issue URL (https://linear.app/<workspace>/issue/TEK-268/...), or a BuildDoc or Task URL. It is…draftbooleanoptionaltrue converts the PR to a draft; false marks it ready for review. Omit to leave it as is.ownerstringrequiredRepository ownerpatchobject[]optionalEdits applied in order to the current body instead of replacing it. Do not pass with body.pullNumbernumberrequiredPull request numberrepostringrequiredRepository nametitlestringoptionalNew PR title, replacing the current one in full
Returns
The registry does not declare a return shape.
Ask for it
The Cloud routes these requests to this verb.
- retitle PR #N
- rename that PR to [TEK-268] …
- edit the PR description
- mark PR #N ready for review
- convert it to a draft
- change the base branch
Pair it with
The verbs that finish the job.
Questions
What does updatePullRequest do?
Edit an open pull request on a connected GitHub repo: retitle it, replace or patch its body, retarget its base, or move it in or out of draft. It is one of the tools The Cloud MCP server gives every connected AI.
How do I use updatePullRequest 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 "retitle PR #N", and it calls updatePullRequest.
Is updatePullRequest safe to let an AI call?
updatePullRequest changes your workspace. What an AI creates is Private until you share it. 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.