Skip to content

Commit 8162c9f

Browse files
committed
Remove non-existent get_pull_request_diff tool reference
1 parent d94ffea commit 8162c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/pullrequests.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ func CreatePendingPullRequestReview(getGQLClient GetGQLClientFn, t translations.
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) {
10521052
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.")),
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).")),
10541054
mcp.WithToolAnnotation(mcp.ToolAnnotation{
10551055
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),

0 commit comments

Comments
 (0)