Git Create Branch
git_create_branchCreates and checks out a new Git branch in a chosen repository so users can isolate work without manual branch switching.
Instructions
Create and switch to a new git branch (git checkout -b).
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_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Path to the git repository. | . |
| branch_name | No | Name for the new branch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |