getPullRequestComments
Lists comments on a pull request to review feedback and discussion, extracting them from the activity log on Data Center.
Instructions
List comments on a pull request. On Data Center, comments are extracted from the activity log.
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": {
"repoSlug": "<repoSlug>",
"pullRequestId": "<pullRequestId>"
},
"name": "getPullRequestComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Fetch all pages | |
| page | No | Page number | |
| pagelen | No | Number of items per page | |
| repoSlug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace name | |
| pullRequestId | Yes | Pull request ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Tool-specific result payload | |
| status | Yes | Whether the tool call succeeded | |
| message | Yes | Human-readable status message |