@@ -288,28 +288,20 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
288
288
- ` draft ` : Create as draft PR (boolean, optional)
289
289
- ` maintainer_can_modify ` : Allow maintainer edits (boolean, optional)
290
290
291
- - ** add_pull_request_review_comment** - Add a review comment to a pull request
291
+ - ** add_pull_request_review_comment** - Add a review comment to a pull request or reply to an existing comment
292
292
293
293
- ` owner ` : Repository owner (string, required)
294
294
- ` repo ` : Repository name (string, required)
295
295
- ` pull_number ` : Pull request number (number, required)
296
296
- ` body ` : The text of the review comment (string, required)
297
- - ` commit_id ` : The SHA of the commit to comment on (string, required)
298
- - ` path ` : The relative path to the file that necessitates a comment (string, required)
297
+ - ` commit_id ` : The SHA of the commit to comment on (string, required unless using in_reply_to )
298
+ - ` path ` : The relative path to the file that necessitates a comment (string, required unless using in_reply_to )
299
299
- ` line ` : The line of the blob in the pull request diff that the comment applies to (number, optional)
300
300
- ` side ` : The side of the diff to comment on (LEFT or RIGHT) (string, optional)
301
301
- ` start_line ` : For multi-line comments, the first line of the range (number, optional)
302
302
- ` start_side ` : For multi-line comments, the starting side of the diff (LEFT or RIGHT) (string, optional)
303
303
- ` subject_type ` : The level at which the comment is targeted (line or file) (string, optional)
304
- - ` in_reply_to ` : The ID of the review comment to reply to (number, optional)
305
-
306
- - ** reply_to_pull_request_review_comment** - Reply to an existing review comment on a pull request
307
-
308
- - ` owner ` : Repository owner (string, required)
309
- - ` repo ` : Repository name (string, required)
310
- - ` pull_number ` : Pull request number (number, required)
311
- - ` comment_id ` : The unique identifier of the comment to reply to (number, required)
312
- - ` body ` : The text of the reply comment (string, required)
304
+ - ` in_reply_to ` : The ID of the review comment to reply to (number, optional). When specified, only body is required and other parameters are ignored.
313
305
314
306
- ** update_pull_request** - Update an existing pull request in a GitHub repository
315
307
0 commit comments