You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -589,7 +589,7 @@ The following sets of tools are available (all are on by default):
589
589
590
590
<summary>Pull Requests</summary>
591
591
592
-
-**add_pull_request_review_comment_to_pending_review** - Add comment to the requester's latest pending pull request review
592
+
-**add_comment_to_pending_review** - Add review comment to the requester's latest pending pull request review
593
593
-`body`: The text of the review comment (string, required)
594
594
-`line`: The line of the blob in the pull request diff that the comment applies to. For multi-line comments, the last line of the range (number, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/add_comment_to_pending_review.snap
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
{
2
2
"annotations": {
3
-
"title": "Add comment to the requester's latest pending pull request review",
3
+
"title": "Add review comment to the requester's latest pending pull request review",
4
4
"readOnlyHint": false
5
5
},
6
-
"description": "Add a comment to the requester's latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).",
6
+
"description": "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).",
mcp.WithDescription(t("TOOL_ADD_PULL_REQUEST_REVIEW_COMMENT_TO_PENDING_REVIEW_DESCRIPTION", "Add a comment to the requester's latest pending pull request review, a pending review needs to already exist to call this (check with the user if not sure).")),
1154
+
// AddCommentToPendingReview creates a tool to add a comment to a pull request review.
1155
+
funcAddCommentToPendingReview(getGQLClientGetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
mcp.WithDescription(t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_DESCRIPTION", "Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).")),
1158
1158
mcp.WithToolAnnotation(mcp.ToolAnnotation{
1159
-
Title: t("TOOL_ADD_PULL_REQUEST_REVIEW_COMMENT_TO_PENDING_REVIEW_USER_TITLE", "Add comment to the requester's latest pending pull request review"),
1159
+
Title: t("TOOL_ADD_COMMENT_TO_PENDING_REVIEW_USER_TITLE", "Add review comment to the requester's latest pending pull request review"),
1160
1160
ReadOnlyHint: ToBoolPtr(false),
1161
1161
}),
1162
1162
// Ideally, for performance sake this would just accept the pullRequestReviewID. However, we would need to
0 commit comments