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
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1256,6 +1256,14 @@ The following sets of tools are available:
1256
1256
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
1257
1257
-`repo`: Repository name (string, required)
1258
1258
1259
+
-**list_repository_collaborators** - List repository collaborators
1260
+
-**Required OAuth Scopes**: `repo`
1261
+
-`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)
1262
+
-`owner`: Repository owner (string, required)
1263
+
-`page`: Page number for pagination (default 1, min 1) (number, optional)
1264
+
-`perPage`: Results per page for pagination (default 30, min 1, max 100) (number, optional)
"description": "List collaborators of a GitHub repository. Results are paginated; the response includes `nextPage`, `prevPage`, `firstPage`, and `lastPage` fields. To get the next page, use the `nextPage` value as the `page` parameter.",
7
+
"inputSchema": {
8
+
"properties": {
9
+
"affiliation": {
10
+
"description": "Filter by affiliation. Can be one of: 'outside' (outside collaborators), 'direct' (all with permissions regardless of org membership), 'all' (all collaborators). Default: 'all'",
11
+
"enum": [
12
+
"outside",
13
+
"direct",
14
+
"all"
15
+
],
16
+
"type": "string"
17
+
},
18
+
"owner": {
19
+
"description": "Repository owner",
20
+
"type": "string"
21
+
},
22
+
"page": {
23
+
"description": "Page number for pagination (default 1, min 1)",
24
+
"minimum": 1,
25
+
"type": "number"
26
+
},
27
+
"perPage": {
28
+
"description": "Results per page for pagination (default 30, min 1, max 100)",
Description: t("TOOL_LIST_REPOSITORY_COLLABORATORS_DESCRIPTION", "List collaborators of a GitHub repository. Results are paginated; the response includes `nextPage`, `prevPage`, `firstPage`, and `lastPage` fields. To get the next page, use the `nextPage` value as the `page` parameter."),
Description: "Filter by affiliation. Can be one of: 'outside' (outside collaborators), 'direct' (all with permissions regardless of org membership), 'all' (all collaborators). Default: 'all'",
2232
+
Enum: []any{"outside", "direct", "all"},
2233
+
},
2234
+
},
2235
+
Required: []string{"owner", "repo"},
2236
+
})
2237
+
schema.Properties["page"].Description="Page number for pagination (default 1, min 1)"
2238
+
schema.Properties["perPage"].Description="Results per page for pagination (default 30, min 1, max 100)"
0 commit comments