repo_list_branches_by_repo
Lists branches in a specified Azure DevOps repository, with optional name filtering and result limits. Use it to inspect repository branches or find matching branch names by repository ID.
Instructions
Retrieve a list of branches for 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": "repo_list_branches_by_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum branches to return. | |
| repositoryId | Yes | The repository ID. | |
| filterContains | No | Filter branches by name. |