github_get_pr_files
Fetch the files changed in a GitHub pull request using the repository (owner/repo) and pull number. Use it to review diffs and inspect modifications before merging.
Instructions
獲取 Pull Request 的文件變更
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": {
"repository": "<repository>",
"pullNumber": "<pullNumber>"
},
"name": "github_get_pr_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pullNumber | Yes | Pull Request 編號 | |
| repository | Yes | 倉庫標識 (格式: owner/repo) |