refresh_or_sync_pr
Refresh a pull request's queue state or sync its branch with the base branch to diagnose and resolve blocked or outdated PRs.
Instructions
refresh: re-evaluate a PR's queue state. sync: update the PR branch with its base branch.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"number": "<number>",
"action": "<action>"
},
"name": "refresh_or_sync_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | GitHub org. Optional if repo is 'org/name'. | |
| repo | No | GitHub repo name or 'org/name'. | |
| action | Yes | ||
| number | Yes | Pull request number. |