List commits
list_commitsFetch commits from an Azure DevOps repository, scoping results by branch, tag, or commit and filtering by author or date range.
Instructions
List repository commits, optionally scoped to a branch, tag, or 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>"
},
"name": "list_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| skip | No | ||
| author | No | ||
| toDate | No | ||
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| fromDate | No | ||
| revision | No | ||
| versionType | No | ||
| repositoryId | Yes | Repository name or ID. |