bb_add_pull_request_comment
Add a comment to a Bitbucket pull request, optionally as an inline comment on a specific file or as a threaded reply.
Instructions
Add a comment to a pull request, optionally as an inline comment on a specific file and line. Use parent_id to create a threaded reply to an existing 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": {
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>",
"content": "<content>"
},
"name": "bb_add_pull_request_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| content | Yes | Comment body (raw markup) | |
| parent_id | No | Parent comment ID to create a threaded reply | |
| repo_slug | Yes | Repository slug | |
| workspace | No | Bitbucket workspace slug (uses default if not provided) | |
| inline_line | No | Line number for inline comment (the 'to' line) | |
| inline_path | No | File path for inline comment |