list_pr_commits
List commits on a Bitbucket pull request with pagination support. Enter the project key, repository slug, and pull request ID to retrieve the commit history.
Instructions
List commits on a specific pull request with pagination
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"pullRequestId": "<pullRequestId>"
},
"name": "list_pr_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoSlug | Yes | The repository slug | |
| projectKey | Yes | The project key (e.g., PROJ) | |
| max_results | No | Maximum number of commits to return (default: 100) | |
| pullRequestId | Yes | The pull request ID |