ado_get_diffs
Retrieve the diff of changed files and commits between two branches in an Azure DevOps repository.
Instructions
Get the diff (changed files/commits) between two branches.
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>",
"baseBranch": "<baseBranch>",
"targetBranch": "<targetBranch>"
},
"name": "ado_get_diffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| repoId | Yes | Repository name or ID | |
| project | No | Project name or ID (defaults to ADO_DEFAULT_PROJECT) | |
| baseBranch | Yes | Base branch, e.g. "main" | |
| targetBranch | Yes | Target branch to compare |