create_review_comment
Add line-specific feedback to pull request code changes by creating review comments on GitHub diffs.
Instructions
Create a review comment on a specific line of a pull request diff.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name | |
| pull_number | Yes | Pull request number | |
| body | Yes | Comment text | |
| commit_id | Yes | SHA of the commit to comment on | |
| path | Yes | Relative file path to comment on | |
| line | No | The line number in the diff to comment on (required for line comments) | |
| side | No | Which side of the diff to comment on (LEFT or RIGHT, default RIGHT) | RIGHT |
| start_line | No | Start line for multi-line comments | |
| start_side | No | Start side for multi-line comments (LEFT or RIGHT) | |
| subject_type | No | Subject type (line, file) | line |