Add PR inline comment
add_pr_inline_commentPost a comment on a specific file and line within a pull request's diff to provide targeted feedback during code review.
Instructions
Post a comment on a specific file and line within a pull request's diff. Use get_pr_diff first if you need to confirm line numbers are present in the diff. For general PR comments, use add_pr_comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment body (Markdown). | |
| line | Yes | Line number (1-based). | |
| path | Yes | Repo-relative file path. | |
| repo | No | Bitbucket repo slug. | |
| side | No | Which side of the diff to anchor to. Default `new` (the PR's version). | |
| pr_id | No | Pull request id. | |
| workspace | No | Bitbucket workspace (slug). |