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
-**request_copilot_review** - Request a GitHub Copilot review for a pull request (experimental; subject to GitHub API support)
441
+
442
+
-`owner`: Repository owner (string, required)
443
+
-`repo`: Repository name (string, required)
444
+
-`pull_number`: Pull request number (number, required)
445
+
-_Note: As of now, requesting a Copilot review programmatically is not supported by the GitHub API. This tool will return an error until GitHub exposes this functionality._
446
+
440
447
### Repositories
441
448
442
449
-**create_or_update_file** - Create or update a single file in a repository
// RequestCopilotReview creates a tool to request a Copilot review for a pull request.
1734
+
funcRequestCopilotReview(getClientGetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
1735
+
returnmcp.NewTool("request_copilot_review",
1736
+
mcp.WithDescription(t("TOOL_REQUEST_COPILOT_REVIEW_DESCRIPTION", "Request a GitHub Copilot review for a pull request. Note: This feature depends on GitHub API support and may not be available for all users.")),
// As of now, GitHub API does not support Copilot as a reviewer programmatically.
1765
+
// This is a placeholder for future support.
1766
+
returnmcp.NewToolResultError(fmt.Sprintf("Requesting a Copilot review for PR #%d in %s/%s is not currently supported by the GitHub API. Please request a Copilot review via the GitHub UI.", pullNumber, owner, repo)), nil
0 commit comments