github_get_pr_files
Retrieve files changed in a GitHub pull request with pagination support. Specify repository owner, name, and PR number to fetch file details, including optional patch data, for efficient review.
Instructions
Get files changed in a pull request with pagination support
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_owner": "<repo_owner>",
"repo_name": "<repo_name>",
"pr_number": "<pr_number>"
},
"name": "github_get_pr_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_patch | No | ||
| page | No | ||
| per_page | No | ||
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |