get_pull_requests
Retrieve pull requests from a Bitbucket repository, filtered by state such as open, merged, or declined.
Instructions
Get 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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>"
},
"name": "get_pull_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | State of pull requests to retrieve (e.g., OPEN, MERGED, DECLINED, ALL) | OPEN |
| repoSlug | Yes | The repository slug | |
| projectKey | Yes | The project key (e.g., PROJ) |