git-branch
List all branches in a Git repository or create a new branch by specifying its name.
Instructions
Lists all branches or creates a new branch
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 |
|---|---|---|---|
| branchName | No | Name of the branch to create (leave empty to list branches) | |
| directory | No | The directory to run the command in (defaults to current working directory) |