git_branch_list
Lists all branches in a Git repository so assistants can inspect available branches before switching, merging, or comparing work.
Instructions
List all branches in the repository
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_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoPath | No | Path to git repository (defaults to current directory) |