git_branch_create
Creates a new Git branch by name in a specified repository or the current directory. Use it to start isolated work on a feature or fix without altering existing branches.
Instructions
Create a new 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": {
"branchName": "<branchName>"
},
"name": "git_branch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to git repository (defaults to current directory) | |
| branchName | Yes | Name of the branch to create |