fetch_pr
Fetch the code changes from a GitHub pull request by providing the repository owner, repository name, and PR number, making the changes available for review.
Instructions
Fetch changes from a GitHub 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": {
"repo_owner": "<repo_owner>",
"repo_name": "<repo_name>",
"pr_number": "<pr_number>"
},
"name": "fetch_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | ||
| repo_name | Yes | ||
| repo_owner | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |