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
+26-26Lines changed: 26 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -726,12 +726,12 @@ The following sets of tools are available:
726
726
-**issue_read** - Get issue details
727
727
-`issue_number`: The number of the issue (number, required)
728
728
-`method`: The read operation to perform on a single issue.
729
-
Options are:
730
-
1. get - Get details of a specific issue.
731
-
2. get_comments - Get issue comments.
732
-
3. get_sub_issues - Get sub-issues of the issue.
733
-
4. get_labels - Get labels assigned to the issue.
734
-
(string, required)
729
+
Options are:
730
+
1. get - Get details of a specific issue.
731
+
2. get_comments - Get issue comments.
732
+
3. get_sub_issues - Get sub-issues of the issue.
733
+
4. get_labels - Get labels assigned to the issue.
734
+
(string, required)
735
735
-`owner`: The owner of the repository (string, required)
736
736
-`page`: Page number for pagination (min 1) (number, optional)
737
737
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
@@ -744,10 +744,10 @@ Options are:
744
744
-`issue_number`: Issue number to update (number, optional)
745
745
-`labels`: Labels to apply to this issue (string[], optional)
746
746
-`method`: Write operation to perform on a single issue.
747
-
Options are:
748
-
- 'create' - creates a new issue.
749
-
- 'update' - updates an existing issue.
750
-
(string, required)
747
+
Options are:
748
+
- 'create' - creates a new issue.
749
+
- 'update' - updates an existing issue.
750
+
(string, required)
751
751
-`milestone`: Milestone number (number, optional)
752
752
-`owner`: Repository owner (string, required)
753
753
-`repo`: Repository name (string, required)
@@ -784,11 +784,11 @@ Options are:
784
784
-`before_id`: The ID of the sub-issue to be prioritized before (either after_id OR before_id should be specified) (number, optional)
785
785
-`issue_number`: The number of the parent issue (number, required)
786
786
-`method`: The action to perform on a single sub-issue
787
-
Options are:
788
-
- 'add' - add a sub-issue to a parent issue in a GitHub repository.
789
-
- 'remove' - remove a sub-issue from a parent issue in a GitHub repository.
790
-
- 'reprioritize' - change the order of sub-issues within a parent issue in a GitHub repository. Use either 'after_id' or 'before_id' to specify the new position.
791
-
(string, required)
787
+
Options are:
788
+
- 'add' - add a sub-issue to a parent issue in a GitHub repository.
789
+
- 'remove' - remove a sub-issue from a parent issue in a GitHub repository.
790
+
- 'reprioritize' - change the order of sub-issues within a parent issue in a GitHub repository. Use either 'after_id' or 'before_id' to specify the new position.
791
+
(string, required)
792
792
-`owner`: Repository owner (string, required)
793
793
-`replace_parent`: When true, replaces the sub-issue's current parent issue. Use with 'add' method only. (boolean, optional)
794
794
-`repo`: Repository name (string, required)
@@ -986,15 +986,15 @@ Options are:
986
986
987
987
-**pull_request_read** - Get details for a single pull request
988
988
-`method`: Action to specify what pull request data needs to be retrieved from GitHub.
989
-
Possible options:
990
-
1. get - Get details of a specific pull request.
991
-
2. get_diff - Get the diff of a pull request.
992
-
3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.
993
-
4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.
994
-
5. get_review_comments - Get the review comments on a pull request. They are comments made on a portion of the unified diff during a pull request review. Use with pagination parameters to control the number of results returned.
995
-
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.
996
-
7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.
997
-
(string, required)
989
+
Possible options:
990
+
1. get - Get details of a specific pull request.
991
+
2. get_diff - Get the diff of a pull request.
992
+
3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.
993
+
4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.
994
+
5. get_review_comments - Get review threads on a pull request. Each thread contains logically grouped review comments made on the same code location during pull request reviews. Returns threads with metadata (isResolved, isOutdated, isCollapsed) and their associated comments. Use cursor-based pagination (perPage, after) to control results.
995
+
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.
996
+
7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.
997
+
(string, required)
998
998
-`owner`: Repository owner (string, required)
999
999
-`page`: Page number for pagination (min 1) (number, optional)
1000
1000
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
@@ -1061,7 +1061,7 @@ Possible options:
1061
1061
-`owner`: Repository owner (username or organization) (string, required)
1062
1062
-`path`: Path where to create/update the file (string, required)
1063
1063
-`repo`: Repository name (string, required)
1064
-
-`sha`: Required if updating an existing file. The blob SHA of the file being replaced. (string, optional)
1064
+
-`sha`: The blob SHA of the file being replaced. (string, optional)
1065
1065
1066
1066
-**create_repository** - Create repository
1067
1067
-`autoInit`: Initialize with README (boolean, optional)
@@ -1092,7 +1092,7 @@ Possible options:
1092
1092
1093
1093
-**get_file_contents** - Get file or directory contents
1094
1094
-`owner`: Repository owner (username or organization) (string, required)
1095
-
-`path`: Path to file/directory (directories must end with a slash '/') (string, optional)
1095
+
-`path`: Path to file/directory (string, optional)
1096
1096
-`ref`: Accepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head` (string, optional)
1097
1097
-`repo`: Repository name (string, required)
1098
1098
-`sha`: Accepts optional commit SHA. If specified, it will be used instead of ref (string, optional)
| Code Security | Code security related tools, such as GitHub Code Scanning |https://api.githubcopilot.com/mcp/x/code_security|[Install](https://insiders.vscode.dev/redirect/mcp/install?name=gh-code_security&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fcode_security%22%7D)|[read-only](https://api.githubcopilot.com/mcp/x/code_security/readonly)|[Install read-only](https://insiders.vscode.dev/redirect/mcp/install?name=gh-code_security&config=%7B%22type%22%3A%20%22http%22%2C%22url%22%3A%20%22https%3A%2F%2Fapi.githubcopilot.com%2Fmcp%2Fx%2Fcode_security%2Freadonly%22%7D)|
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/create_or_update_file.snap
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"annotations": {
3
3
"title": "Create or update file"
4
4
},
5
-
"description": "Create or update a single file in a GitHub repository. If updating, you must provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations.",
5
+
"description": "Create or update a single file in a GitHub repository. \nIf updating, you should provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations.\n\nIn order to obtain the SHA of original file version before updating, use the following git command:\ngit ls-tree HEAD \u003cpath to file\u003e\n\nIf the SHA is not provided, the tool will attempt to acquire it by fetching the current file contents from the repository, which may lead to rewriting latest committed changes if the file has changed since last retrieval.\n",
6
6
"inputSchema": {
7
7
"type": "object",
8
8
"required": [
@@ -40,7 +40,7 @@
40
40
},
41
41
"sha": {
42
42
"type": "string",
43
-
"description": "Required if updating an existing file. The blob SHA of the file being replaced."
43
+
"description": "The blob SHA of the file being replaced."
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/get_me.snap
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@
5
5
},
6
6
"description": "Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/pull_request_read.snap
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
"properties": {
16
16
"method": {
17
17
"type": "string",
18
-
"description": "Action to specify what pull request data needs to be retrieved from GitHub. \nPossible options: \n 1. get - Get details of a specific pull request.\n 2. get_diff - Get the diff of a pull request.\n 3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.\n 4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n 5. get_review_comments - Get the review comments on a pull request. They are comments made on a portion of the unified diff during a pull request review. Use with pagination parameters to control the number of results returned.\n 6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n 7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.\n",
18
+
"description": "Action to specify what pull request data needs to be retrieved from GitHub. \nPossible options: \n 1. get - Get details of a specific pull request.\n 2. get_diff - Get the diff of a pull request.\n 3. get_status - Get status of a head commit in a pull request. This reflects status of builds and checks.\n 4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.\n 5. get_review_comments - Get review threads on a pull request. Each thread contains logically grouped review comments made on the same code location during pull request reviews. Returns threads with metadata (isResolved, isOutdated, isCollapsed) and their associated comments. Use cursor-based pagination (perPage, after) to control results.\n 6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.\n 7. get_comments - Get comments on a pull request. Use this if user doesn't specifically want review comments. Use with pagination parameters to control the number of results returned.\n",
0 commit comments