git_branch_list
List Git branches with their last commit and upstream, and optionally include remote branches. Use this read-only view to inspect branch status before switching or merging.
Instructions
List branches with their last commit and upstream (read-only). all_branches includes remotes.
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 |
|---|---|---|---|
| repo | No | . | |
| all_branches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |