List pull request files
list_pull_request_filesLists files changed by a Forgejo pull request with per-file additions, deletions, and rename details; use filenames with the diff tool to inspect hunks.
Instructions
List the files a pull request changes, with per-file additions/deletions and rename info (owner/repo/index; optional page/limit, auto-paginated when both are omitted). Forgejo does not return the hunks here — pass a filename to get_pull_request_diff for the content.
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>",
"index": "<index>"
},
"name": "list_pull_request_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. | |
| repo | Yes | Repository name. | |
| index | Yes | Pull request number within the repository. | |
| limit | No | Results per page. | |
| owner | Yes | Repository owner — user or organization. |