git_create_branch
Creates a new Git branch in a specified repository. Define the branch name and optionally set a starting point.
Instructions
Creates 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": {
"repo_path": "<repo_path>",
"branch_name": "<branch_name>"
},
"name": "git_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Path to Git repository | |
| branch_name | Yes | Name of the new branch | |
| start_point | No | Starting point for the new branch |