git-rebase
Rebase the current branch onto a target branch or commit to integrate changes and maintain a linear project history.
Instructions
Rebase current branch onto another branch or commit
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "git-rebase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | The directory to run the command in (defaults to current working directory) | |
| target | No | The target branch or commit to rebase onto (defaults to HEAD~1) | |
| interactive | No | Whether to use interactive rebase mode |