listPullRequests
Lists pull requests for a Bitbucket repository, with optional filters for state, project, direction, and pagination.
Instructions
List pull requests for 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": {
"repoSlug": "<repoSlug>"
},
"name": "listPullRequests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Full ref, e.g. refs/heads/main | |
| all | No | All pages, max 1000 | |
| limit | No | ||
| start | No | ||
| state | No | ||
| repoSlug | Yes | ||
| direction | No | ||
| projectKey | No |