git_create_branch
Create a Git branch from a chosen base without changing working files, respecting repository path and project policy restrictions. Omit repo_path to use the configured repository.
Instructions
Create a branch without changing working files. Omit repo_path to use the configured repository. Results and operations are restricted according to project policy.
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": {
"branch_name": "<branch_name>"
},
"name": "git_create_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Optional repository root. Omit to use the server's fixed repository. An explicit path must identify that same repository. | |
| base_branch | No | ||
| branch_name | Yes |