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
-`body`: Comment content (required for 'add', 'reply', and 'update' methods) (string, optional)
736
+
-`commentNodeID`: The Node ID of the discussion comment (required for 'reply', 'update', 'delete', 'mark_answer', and 'unmark_answer' methods). For 'reply', this is the top-level comment to reply to; GitHub Discussions only support one level of nesting. (string, optional)
737
+
-`discussionNumber`: Discussion number (required for 'add' and 'reply' methods) (number, optional)
738
+
-`method`: Write operation to perform on a discussion comment.
739
+
Options are:
740
+
- 'add' - adds a new top-level comment to a discussion.
741
+
- 'reply' - replies to a top-level discussion comment (GitHub Discussions only support one level of nesting).
742
+
- 'update' - updates an existing discussion comment.
743
+
- 'delete' - deletes a discussion comment.
744
+
- 'mark_answer' - marks a discussion comment as the answer (Q&A only).
745
+
- 'unmark_answer' - unmarks a discussion comment as the answer (Q&A only).
746
+
(string, required)
747
+
-`owner`: Repository owner (required for 'add' and 'reply' methods) (string, optional)
748
+
-`repo`: Repository name (required for 'add' and 'reply' methods) (string, optional)
749
+
733
750
-**get_discussion** - Get discussion
734
751
-**Required OAuth Scopes**: `repo`
735
752
-`discussionNumber`: Discussion Number (number, required)
@@ -740,6 +757,7 @@ The following sets of tools are available:
740
757
-**Required OAuth Scopes**: `repo`
741
758
-`after`: Cursor for pagination. Use the endCursor from the previous page's PageInfo for GraphQL APIs. (string, optional)
742
759
-`discussionNumber`: Discussion Number (number, required)
760
+
-`includeReplies`: When true, each top-level comment will include its replies nested within it (up to 100 replies per comment, which is the GitHub API maximum). Defaults to false. (boolean, optional)
743
761
-`owner`: Repository owner (string, required)
744
762
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
745
763
-`repo`: Repository name (string, required)
@@ -1100,7 +1118,7 @@ The following sets of tools are available:
1100
1118
3. get_status - Get combined commit status of a head commit in a pull request.
1101
1119
4. get_files - Get the list of files changed in a pull request. Use with pagination parameters to control the number of results returned.
1102
1120
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.
1103
-
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method.
1121
+
6. get_reviews - Get the reviews on a pull request. When asked for review comments, use get_review_comments method. Use with pagination parameters to control the number of results returned.
1104
1122
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.
1105
1123
8. get_check_runs - Get check runs for the head commit of a pull request. Check runs are the individual CI/CD jobs and checks that run on the PR.
1106
1124
(string, required)
@@ -1256,6 +1274,14 @@ The following sets of tools are available:
1256
1274
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
1257
1275
-`repo`: Repository name (string, required)
1258
1276
1277
+
-**list_repository_collaborators** - List repository collaborators
1278
+
-**Required OAuth Scopes**: `repo`
1279
+
-`affiliation`: Filter by affiliation. Can be one of: 'outside' (outside collaborators), 'direct' (all with permissions regardless of org membership), 'all' (all collaborators). Default: 'all' (string, optional)
1280
+
-`owner`: Repository owner (string, required)
1281
+
-`page`: Page number for pagination (default 1, min 1) (number, optional)
1282
+
-`perPage`: Results per page for pagination (default 30, min 1, max 100) (number, optional)
1283
+
-`repo`: Repository name (string, required)
1284
+
1259
1285
-**list_tags** - List tags
1260
1286
-**Required OAuth Scopes**: `repo`
1261
1287
-`owner`: Repository owner (string, required)
@@ -1413,6 +1439,11 @@ The following sets of tools are available:
1413
1439
1414
1440
<summary>Copilot Spaces</summary>
1415
1441
1442
+
-**Authentication note**
1443
+
- Fine-grained PATs are not hidden by classic PAT scope filtering, so these tools may still appear even when the token cannot use them.
1444
+
- For org-owned spaces, fine-grained PATs must be installed on the owning organization and include `organization_copilot_spaces: read`.
1445
+
- If an org-owned space contains repository-backed resources, the token must also have access to every referenced repository or the space may be treated as not found.
1446
+
1416
1447
-**get_copilot_space** - Get Copilot Space
1417
1448
-`owner`: The owner of the space. (string, required)
1418
1449
-`name`: The name of the space. (string, required)
0 commit comments