list_commits
Retrieve recent commits from a specified Azure DevOps branch with file-level diff content for each commit, enabling users to inspect repository history and changes.
Instructions
List recent commits on a branch including file-level diff content for each commit
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": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of commits to return (Default: 10) | |
| skip | No | Number of commits to skip from the newest | |
| projectId | No | The ID or name of the project (Default: no default project) | |
| branchName | Yes | Branch name to list commits from | |
| repositoryId | Yes | The ID or name of the repository | |
| organizationId | No | The ID or name of the organization (Default: example-org) |