Skip to content

Commit 3dc6139

Browse files
committed
Update README with new PR review comment tools
1 parent fb384b6 commit 3dc6139

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,29 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
279279
- `draft`: Create as draft PR (boolean, optional)
280280
- `maintainer_can_modify`: Allow maintainer edits (boolean, optional)
281281

282+
- **add_pull_request_review_comment** - Add a review comment to a pull request
283+
284+
- `owner`: Repository owner (string, required)
285+
- `repo`: Repository name (string, required)
286+
- `pull_number`: Pull request number (number, required)
287+
- `body`: The text of the review comment (string, required)
288+
- `commit_id`: The SHA of the commit to comment on (string, required)
289+
- `path`: The relative path to the file that necessitates a comment (string, required)
290+
- `line`: The line of the blob in the pull request diff that the comment applies to (number, optional)
291+
- `side`: The side of the diff to comment on (LEFT or RIGHT) (string, optional)
292+
- `start_line`: For multi-line comments, the first line of the range (number, optional)
293+
- `start_side`: For multi-line comments, the starting side of the diff (LEFT or RIGHT) (string, optional)
294+
- `subject_type`: The level at which the comment is targeted (line or file) (string, optional)
295+
- `in_reply_to`: The ID of the review comment to reply to (number, optional)
296+
297+
- **reply_to_pull_request_review_comment** - Reply to an existing review comment on a pull request
298+
299+
- `owner`: Repository owner (string, required)
300+
- `repo`: Repository name (string, required)
301+
- `pull_number`: Pull request number (number, required)
302+
- `comment_id`: The unique identifier of the comment to reply to (number, required)
303+
- `body`: The text of the reply comment (string, required)
304+
282305
### Repositories
283306

284307
- **create_or_update_file** - Create or update a single file in a repository

0 commit comments

Comments
 (0)