get_pull_requests
Lists pull requests in a Bitbucket repository, with optional filtering by state. Returns each PR's title, author, state, and description for review.
Instructions
List pull requests in a repository. Returns PR titles, authors, states, and descriptions.
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_slug": "<repo_slug>"
},
"name": "get_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Filter by PR state. Defaults to OPEN. | |
| repo_slug | Yes | The repository slug. | |
| workspace | No | The workspace slug. Optional if BITBUCKET_WORKSPACE env var is set. |