repo_list_branches_by_repo
Retrieve a list of branches from a specified repository in Azure DevOps using the repository ID, with options to limit results to a defined number of branches.
Instructions
Retrieve a list of branches for a given 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 |
|---|---|---|---|
| repositoryId | Yes | The ID of the repository where the branches are located. | |
| top | No | The maximum number of branches to return. Defaults to 100. |