git_rebase
Reapply commits onto another branch's base tip to integrate changes. Use it to move or edit a series of commits, optionally starting an interactive rebase.
Instructions
Reapply commits on top of another base tip
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": {
"branch": "<branch>"
},
"name": "git_rebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | The branch to rebase onto | |
| repoPath | No | Path to git repository (defaults to current directory) | |
| interactive | No | Start an interactive rebase |