jules_rebase_pr
Rebase an existing GitHub PR onto the latest base branch locally and force-push with lease to eliminate PR collision and out-of-date branch warnings.
Instructions
Rebase an existing Jules GitHub PR against the latest base branch (e.g. main) locally and force-push with lease, eliminating PR collision and out-of-date branch warnings on GitHub.
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": {
"repo_path": "<repo_path>",
"pr_url_or_number": "<pr_url_or_number>"
},
"name": "jules_rebase_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Absolute local repository path. | |
| base_branch | No | Base branch to rebase onto (defaults to 'main'). | |
| pr_url_or_number | Yes | GitHub PR URL or number to rebase. |