get_pull_request_diff
Retrieve the difference for a specific pull request in Azure DevOps, optionally filtering by file path or iteration for precise changes.
Instructions
Get the diff for 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": {
"pullRequestId": "<pullRequestId>"
},
"name": "get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | No | Specific file path to get diff for (optional) | |
| iterationId | No | Specific iteration to get diff for (optional) | |
| pullRequestId | Yes | ID of the pull request |