list_pr_commits
Extract all commits linked to a specific pull request in Bitbucket repositories. Specify workspace, repository, and pull request ID to retrieve commit history efficiently.
Instructions
List all commits that are part of a pull request
Input Schema
Name | Required | Description | Default |
---|---|---|---|
limit | No | Maximum number of commits to return (default: 25) | |
pull_request_id | Yes | Pull request ID | |
repository | Yes | Repository slug (e.g., "my-repo") | |
start | No | Start index for pagination (default: 0) | |
workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") |
Input Schema (JSON Schema)
{
"properties": {
"limit": {
"description": "Maximum number of commits to return (default: 25)",
"type": "number"
},
"pull_request_id": {
"description": "Pull request ID",
"type": "number"
},
"repository": {
"description": "Repository slug (e.g., \"my-repo\")",
"type": "string"
},
"start": {
"description": "Start index for pagination (default: 0)",
"type": "number"
},
"workspace": {
"description": "Bitbucket workspace/project key (e.g., \"PROJ\")",
"type": "string"
}
},
"required": [
"workspace",
"repository",
"pull_request_id"
],
"type": "object"
}