git_branch
List local or remote-tracking Git branches and indicate the current branch.
Instructions
List local (or all) branches and indicate the current 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 |
|---|---|---|---|
| all_branches | No | If True, also lists remote-tracking branches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||