Reply to PR comment
reply_to_pr_commentReply to an existing Bitbucket pull request comment to join the discussion in a thread. Use it to post a direct response to a comment, keeping inline replies grouped under the original.
Instructions
Reply to an existing PR comment, creating a threaded reply. For inline comments, the path and line are inherited from the parent — do not use add_pr_inline_comment to reply, since that posts a sibling comment instead of a threaded reply.
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": {
"comment_id": "<comment_id>",
"body": "<body>"
},
"name": "reply_to_pr_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Reply body (Markdown). | |
| repo | No | Bitbucket repo slug. | |
| pr_id | No | Pull request id. | |
| workspace | No | Bitbucket workspace (slug). | |
| comment_id | Yes | ID of the comment to reply to. |