ado_get_branch
Retrieve branch details, including tip commit and statistics, by specifying repository ID and branch name.
Instructions
Get details (tip commit, stats) of a branch.
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": {
"repoId": "<repoId>",
"name": "<name>"
},
"name": "ado_get_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Branch name, e.g. "main" | |
| repoId | Yes | Repository name or ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) |