repo_get_branch_by_name
Retrieve an Azure DevOps repository branch by its name using its repository ID and branch name.
Instructions
Get a branch by its name.
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>",
"branchName": "<branchName>"
},
"name": "repo_get_branch_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchName | Yes | The branch name. | |
| repositoryId | Yes | The repository ID. |