get_pull_request_changes
Retrieve changed files, unified diffs, source and target branch names, and policy evaluation status for an Azure DevOps pull request to review code changes and check compliance.
Instructions
Get the files changed in a pull request, their unified diffs, source/target branch names, and the status of policy evaluations
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_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | The ID or name of the project (defaults to AZURE_DEVOPS_DEFAULT_PROJECT) | |
| repositoryId | Yes | The ID or name of the repository | |
| pullRequestId | Yes | The ID of the pull request | |
| organizationId | No | The ID or name of the organization (defaults to configured organization) |