List branches
list_branchesRetrieve all Git branches in an Azure DevOps repository, showing the commit each branch points to for quick reference and navigation.
Instructions
List the branches (refs/heads) of a Git repository, with the commit each one points at.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"repo": "<repo>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository id or name (from list_repositories) | |
| project | Yes | Project name or id (must be within AZDO_PROJECT_ALLOWLIST when that is set) |