github_pulls_list_files
List files changed by a pull request with per-file additions, deletions, and patch text; paginate large diffs by keeping page size small.
Instructions
List the files a pull request changes, with per-file additions, deletions and patch text. A large pull request returns a lot of diff: keep per_page small and page through it.
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>",
"pullNumber": "<pullNumber>"
},
"name": "github_pulls_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | The page number of the results to fetch. Defaults to 1. | |
| repo | Yes | The name of the repository without the `.git` extension. The name is not case sensitive. | |
| owner | Yes | The account owner of the repository. The name is not case sensitive. | |
| perPage | No | The number of results per page (max 100). Defaults to 30. | |
| pullNumber | Yes | The number that identifies the pull request. |