bb_get_pull_request
Retrieves pull request details from a Bitbucket repository, including optional diff, commit list, and comments.
Instructions
Get details of a pull request in a Bitbucket 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": {
"pr_id": "<pr_id>"
},
"name": "bb_get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| repo_slug | No | Repository slug/name; defaults to the repo detected from the current directory's git remote | |
| workspace | No | Bitbucket workspace | |
| include_diff | No | Append the complete diff (can be very large) | |
| include_commits | No | Append the commit list | |
| include_comments | No | Append the comment list |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |