List pull requests
list_pull_requestsLists pull requests from a Bitbucket repository, filtered by state (open, merged, declined, superseded).
Instructions
Lists a repository's PRs, filtered by state.
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": {
"repo": "<repo>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository repo_slug. | |
| limit | No | Max items (default 25). | |
| state | No | PR state (default OPEN). | |
| workspace | No | Bitbucket workspace. Omit to use BITBUCKET_WORKSPACE. |