list_pr_commits
Retrieve commits in a Bitbucket pull request, with pagination and optional CI build status per commit.
Instructions
List commits in a 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": {
"workspace": "<workspace>",
"repository": "<repository>",
"pull_request_id": "<pull_request_id>"
},
"name": "list_pr_commits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 25) | |
| start | No | Pagination start (default 0) | |
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | Yes | Repository slug | |
| pull_request_id | Yes | Pull request ID | |
| include_build_status | No | CI status per commit (Server only) |