git_git_branch_create
Create a new Git branch from the current HEAD with optional immediate checkout. Specify the branch name and optionally checkout the new branch or set a custom repository directory.
Instructions
[git] Create a new branch from the current HEAD.
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_git_branch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| checkout | No | ||
| repo_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |