get_pull_request_diff
Fetches the diff of a GitHub pull request to inspect code changes for analysis and review.
Instructions
Fetches the code changes (diff) of a specific Pull Request for analysis.
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": {
"owner": "<owner>",
"repo": "<repo>",
"pull_number": "<pull_number>"
},
"name": "get_pull_request_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| pull_number | Yes | Pull Request number |