Get pull request commits
get_pull_request_commitsRetrieve all commits included in a pull request to review code changes and trace history.
Instructions
List commits included in a pull request.
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>",
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| project | No | Project name or ID. Omit to use AZURE_DEVOPS_DEFAULT_PROJECT. | |
| repositoryId | Yes | Repository name or ID. | |
| pullRequestId | Yes | Pull request numeric ID. | |
| continuationToken | No |