Skip to content

Commit d94ffea

Browse files
committed
Rename add_pull_request_review_comment_to_pending_review to add_pull_request_review_comment
1 parent e9f748f commit d94ffea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/pullrequests.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,10 +1049,10 @@ func CreatePendingPullRequestReview(getGQLClient GetGQLClientFn, t translations.
10491049

10501050
// AddPullRequestReviewCommentToPendingReview creates a tool to add a comment to a pull request review.
10511051
func AddPullRequestReviewCommentToPendingReview(getGQLClient GetGQLClientFn, t translations.TranslationHelperFunc) (mcp.Tool, server.ToolHandlerFunc) {
1052-
return mcp.NewTool("add_pull_request_review_comment_to_pending_review",
1053-
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). If you are using the LINE subjectType, use the get_line_number_in_pull_request_file tool to get an exact line number before commenting.")),
1052+
return mcp.NewTool("add_pull_request_review_comment",
1053+
mcp.WithDescription(t("TOOL_ADD_PULL_REQUEST_REVIEW_COMMENT_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). If you are using the LINE subjectType, use the get_pull_request_diff tool to get an exact line number before commenting.")),
10541054
mcp.WithToolAnnotation(mcp.ToolAnnotation{
1055-
Title: t("TOOL_ADD_PULL_REQUEST_REVIEW_COMMENT_TO_PENDING_REVIEW_USER_TITLE", "Add comment to the requester's latest pending pull request review"),
1055+
Title: t("TOOL_ADD_PULL_REQUEST_REVIEW_COMMENT_REVIEW_USER_TITLE", "Add comment to the requester's latest pending pull request review"),
10561056
ReadOnlyHint: toBoolPtr(false),
10571057
}),
10581058
// Ideally, for performance sake this would just accept the pullRequestReviewID. However, we would need to

0 commit comments

Comments
 (0)