Post inline review comment
post_review_commentPost an inline comment on a pull request diff line to deliver targeted review feedback. Write access must be explicitly enabled.
Instructions
Post a single inline comment at a diff line. Write access must be explicitly enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Review comment body | |
| line | Yes | Diff line number | |
| path | Yes | Repository-relative file path | |
| repo | Yes | GitHub repository name | |
| side | No | Diff side (default RIGHT) | |
| owner | Yes | GitHub repository owner or organization | |
| commit_id | No | PR head SHA; omitted to resolve the current head automatically | |
| start_line | No | Start line for a multi-line comment | |
| start_side | No | Start side for a multi-line comment | |
| pull_number | Yes | Pull request number |