git_new_branch
Create a new Git branch and push to all configured remotes in one step, with optional base branch and repository path specification.
Instructions
Create a new branch and push to all configured remotes. Saves ~280 tokens.
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": {
"name": "<name>"
},
"name": "git_new_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base branch (default: current branch) | |
| name | Yes | Branch name | |
| path | No | Repository path (default: current directory) | |
| push | No | Push to all remotes (default: true) |