get_pr_commits
Retrieve every commit in a pull request with automatic full pagination. Provide the repository and PR ID to get a complete commit list.
Instructions
Lists every commit belonging to a pull request, fully paginated. Requires an explicit repo argument.
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": "<repo>",
"pr_id": "<pr_id>"
},
"name": "get_pr_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| pr_id | Yes | ||
| workspace | No |