Git Branch
git_branchList local Git branches for a repository to inspect available branches before switching, merging, or comparing work.
Instructions
List local branches (git 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 |
|---|---|---|---|
| repo_path | No | Path to the git repository. | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |