list_pull_request_comments
List general and inline comments on a pull request to review existing feedback before posting new review comments. Paginated results help navigate through all comments.
Instructions
List the comments of a pull request (general and inline). Use it before posting review comments to avoid repeating observations already made. Paginated; next_page is set when more results exist.
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>",
"pr_id": "<pr_id>"
},
"name": "list_pull_request_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). | |
| repo | Yes | Repository slug, e.g. "my-service" (not the full URL). | |
| pr_id | Yes | Pull request id, e.g. 42. | |
| pagelen | No | Results per page (max 50, default 10). | |
| workspace | No | Workspace id. Optional when the BITBUCKET_WORKSPACE env var is set. |