get_pr_diff
Retrieve file changes and diff for any GitHub pull request by providing its number.
Instructions
Get the file changes and diff for a specific 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": {
"pr_number": "<pr_number>"
},
"name": "get_pr_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | The pull request number to retrieve the diff for. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||