List PRs
list_prsList pull requests in a Bitbucket repository, filtering by state, author UUID, or source branch, with results sorted newest first.
Instructions
List pull requests in a Bitbucket repository. Filter by state, author UUID, or branch. Returns up to limit results sorted newest first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Bitbucket repo slug. | |
| limit | No | Maximum number of PRs to return. Default 20. | |
| state | No | PR state filter. Default OPEN. | |
| author | No | Author UUID filter. | |
| branch | No | Source branch filter. | |
| workspace | No | Bitbucket workspace (slug). |