list_pull_requests
Retrieve pull requests from a Bitbucket repository, filter by state (open, merged, declined), and paginate results.
Instructions
List pull requests in a repository
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": {
"repository": "<repository>"
},
"name": "list_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| state | No | PR state filter | OPEN |
| repository | Yes | Repository slug (e.g. "my-repo") |