git_branch_create
Create a new Git branch from a specified start point and optionally switch to it; existing branches are never overwritten.
Instructions
Create a new branch (and optionally switch to it). Never overwrites an existing 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": {
"name": "<name>"
},
"name": "git_branch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| repo | No | . | |
| switch | No | ||
| start_point | No | HEAD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |