addPullRequestComment
Add a comment to a pull request: post a general discussion comment, place an inline review on a specific diff line, or reply to an existing comment.
Instructions
Comment on a pull request. Without inline — a general discussion comment. With inline {path, to} — an inline review comment on line to of the diff (commit SHA is resolved automatically). Replying: pass reply_to with a comment id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| inline | No | Make it an inline diff comment | |
| content | Yes | Comment content (markdown) | |
| reply_to | No | Comment id to reply to (general comments only) | |
| pull_number | Yes | Pull request number |