listPullRequests
Retrieve pull requests from a Bitbucket repository, filtered by state such as open, merged, or declined. Specify workspace and repo, or auto-detect from git remote.
Instructions
List pull requests in a repository, filtered by state
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": "listPullRequests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number | |
| state | No | Filter by PR state (default: OPEN) | |
| pagelen | No | Results per page (max 50) | |
| repo_slug | No | Repository slug (auto-detected from git remote if omitted) | |
| workspace | No | Bitbucket workspace (auto-detected from git remote if omitted) |