addPendingReviewComment
Adds draft review comments to Bitbucket pull requests, keeping them hidden from others until the review is submitted; supports general, inline file/line, and threaded reply comments.
Instructions
Add a pending (draft) review comment to a pull request. The comment remains invisible to other users until the review is submitted. Supports general, inline (file/line), and reply comments. Data Center only.
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>",
"content": "<content>"
},
"name": "addPendingReviewComment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | Inline comment position for commenting on specific file lines | |
| content | Yes | Comment content in markdown format | |
| parentId | No | Parent comment ID for threaded replies | |
| repoSlug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace or project key (uses default if omitted) | |
| 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 |