get_pull_request_diff
Retrieve the file-by-file diff of a pull request, including status, line additions and deletions, and the raw unified diff patch for code review.
Instructions
Get the file-by-file diff for a specific pull request.
Returns each changed file with its status (added/modified/removed),
line-level additions and deletions, and the raw unified diff patch.
Args:
repo_full_name: Full repo identifier in "owner/repo" format.
pr_number: The pull request number.
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": {
"repo_full_name": "<repo_full_name>",
"pr_number": "<pr_number>"
},
"name": "get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_full_name | Yes | ||
| pr_number | Yes |