Skip to content

Commit b79abbe

Browse files
committed
Update README with new PR review comment tools
1 parent e0f735d commit b79abbe

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
@@ -287,6 +287,29 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
287287
- `draft`: Create as draft PR (boolean, optional)
288288
- `maintainer_can_modify`: Allow maintainer edits (boolean, optional)
289289

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

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

0 commit comments

Comments
 (0)