List changed files
list_pull_request_filesLists the files a pull request changes, with additions and deletions per file; optionally includes each file's diff for review.
Instructions
Lists the files a pull request changes, with additions and deletions per file. Set include_patch to also get each file's diff (first 3,000 characters per file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository as "owner/name", for example "octocat/hello-world" | |
| limit | No | How many files to return (1-100, default 50) | |
| number | Yes | Pull request number | |
| include_patch | No | Include each file's diff (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| files | Yes |