Pull request comments
get_pull_request_commentsRetrieve all existing comments on a Bitbucket pull request, including general and inline comments, to review feedback during code review.
Instructions
Lists a PR's existing comments (general and inline).
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": {
"repo": "<repo>",
"id": "<id>"
},
"name": "get_pull_request_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Pull request number. | |
| repo | Yes | Repository repo_slug. | |
| workspace | No | Bitbucket workspace. Omit to use BITBUCKET_WORKSPACE. |