post_pr_review_comment
Post an inline comment on a specific line of a file in a GitHub pull request, with options to save as draft or publish immediately.
Instructions
Posts a code review comment on a specific line of a file changed in the PR. All comments must be written in English.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The review comment in Markdown with suggestions. MUST be written in English. | |
| line | Yes | The line number in the file where the comment should be placed | |
| path | Yes | File path (e.g. src/app.js) | |
| repo | Yes | ||
| owner | Yes | ||
| status | Yes | Defines whether the comment should be published immediately ('PUBLIC') or created as a draft review pending user approval ('PENDING'). | |
| pull_number | Yes |