List branches
list_branchesRetrieve branches from an Azure Repos repository. Filter by name prefix or limit results to identify relevant branches for code review and pull request workflows.
Instructions
List branches in an Azure Repos 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 |
|---|---|---|---|
| top | No | ||
| filter | No | Optional branch-name prefix. | |
| project | No | ||
| repositoryId | Yes | Repository name or ID. | |
| continuationToken | No |