Create pull request comment
bb_create_pull_request_commentAdd comments to Bitbucket pull requests. Anchor inline comments to specific file lines, reply to existing comments, or post general feedback. Provide pullRequestId and content.
Instructions
Adds a comment to a pull request. Provide inlinePath (and optionally inlineLine) for a code review comment anchored to a file, or parentId to reply to an existing comment. Omit both for a general comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Comment body (Markdown). | |
| parentId | No | ID of the comment this replies to. | |
| repoSlug | No | Repository slug. Falls back to BITBUCKET_REPO_SLUG if omitted. | |
| workspace | No | Bitbucket workspace slug. Falls back to BITBUCKET_WORKSPACE if omitted. | |
| inlineLine | No | Line number in the new file version to anchor to. | |
| inlinePath | No | File path to anchor an inline comment to. | |
| pullRequestId | Yes | Pull request ID. |