bb_get_pull_request
Get the title, description, author, branches, reviewers, and state of a Bitbucket pull request.
Instructions
Get a Bitbucket PR's metadata: title, description, author, branches, reviewers, state.
Args: pull_request_id: The PR id (number). workspace: Bitbucket workspace slug. repo: Repository slug.
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": {
"pull_request_id": "<pull_request_id>"
},
"name": "bb_get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug. Defaults to BITBUCKET_DEFAULT_REPO. | |
| workspace | No | Bitbucket workspace slug. Defaults to BITBUCKET_WORKSPACE. | |
| pull_request_id | Yes | The PR id (number). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||