List branches
list_branchesRetrieve all branches (refs/heads) for a specified repository in Azure DevOps, enabling branch management and navigation.
Instructions
List branches (refs/heads) of a repository.
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": {
"repositoryId": "<repositoryId>"
},
"name": "list_branches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Azure DevOps project name or id. Defaults to AZDO_PROJECT if set. | |
| repositoryId | Yes | Repository id or name. |