GitHub & Code

refreshPullRequestBranch

Refresh Pull Request Branch

Refresh one or many open pull requests with their base branch: GitHub's update-branch, which merges the base into the head, the rail lever that re-gates an armed set after main moves.

writeexternal

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "refresh with main", and it calls refreshPullRequestBranch.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "owner": "<owner>",
    "pullNumbers": [
      1
    ],
    "repo": "<repo>"
  },
  "name": "refreshPullRequestBranch"
}

Arguments

Returns

The registry does not declare a return shape.

Declared limits

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

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.