list_pull_requests
List pull requests in a Bitbucket repository, or omit the repository to view your PRs across all repos with role, state, author, and pagination filters.
Instructions
List pull requests in a repository. Omit repository (Server only) to list YOUR PRs across all repos in one call (filter with role).
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>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Cross-repo mode only | |
| limit | No | Max results (default 25) | |
| start | No | Pagination start (default 0) | |
| state | No | Default OPEN | |
| author | No | Filter by author username | |
| workspace | Yes | Project key (e.g., PROJ) | |
| repository | No | Repository slug; omit for cross-repo dashboard (Server) |