list_pull_requests
List pull requests from a Bitbucket repository, filtering by state or author. Retrieve open, merged, or declined PRs with pagination support.
Instructions
List pull requests for a repository with optional filters
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>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of PRs to return (default: 25) | |
| start | No | Start index for pagination (default: 0) | |
| state | No | Filter by PR state: OPEN, MERGED, DECLINED, ALL (default: OPEN) | |
| author | No | Filter by author username | |
| workspace | Yes | Bitbucket workspace/project key (e.g., "PROJ") | |
| repository | Yes | Repository slug (e.g., "my-repo") |