Git Branch Operations
git_branchList, create, switch, or delete Git branches in a local repository to manage parallel development workflows.
Instructions
列出、创建、切换或删除 Git 分支。
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_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | 分支名称(create/checkout/delete 时必填) | |
| action | No | 分支操作类型 | list |
| repoPath | No | Git 仓库路径 |