Fetch PR Files
github.fetch_filesRetrieve files and changes from a GitHub pull request to facilitate detailed reviews, static analysis, and test execution in the Code Review MCP server.
Instructions
Fetch files/diff for a PR
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": "github.fetch_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | ||
| pull_number | Yes | ||
| repo | Yes |