Add PR comment
add_pr_commentPost a general comment on a Bitbucket pull request without linking to a specific file or line. Use for overall PR feedback, questions, or summaries.
Instructions
Post a general comment on a pull request (not tied to a specific file or line). For inline file/line comments, use add_pr_inline_comment.
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": {
"body": "<body>"
},
"name": "add_pr_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body (Markdown). | |
| repo | No | Bitbucket repo slug. | |
| pr_id | No | Pull request id. | |
| workspace | No | Bitbucket workspace (slug). |