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
Refactor GitHub tools to use GraphQL for organization members and outside collaborators
- Updated GetOrgMembers to utilize GraphQL for fetching organization members with roles.
- Refactored ListOutsideCollaborators to use the GitHub API for listing outside collaborators.
- Improved error handling and response structures in both tools.
- Added tests for new GraphQL implementations and ensured compatibility with existing functionality.
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/get_org_members.snap
+2-10Lines changed: 2 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"annotations": {
3
-
"title": "Get organization members",
4
-
"readOnlyHint": true
3
+
"readOnlyHint": true,
4
+
"title": "Get organization members"
5
5
},
6
6
"description": "Get member users of a specific organization. Returns a list of user objects with fields: login, id, avatar_url, type. Limited to organizations accessible with current credentials",
7
7
"inputSchema": {
@@ -10,14 +10,6 @@
10
10
"description": "Organization login (owner) to get members for.",
11
11
"type": "string"
12
12
},
13
-
"page": {
14
-
"description": "Page number for pagination",
15
-
"type": "number"
16
-
},
17
-
"per_page": {
18
-
"description": "Results per page (max 100)",
19
-
"type": "number"
20
-
},
21
13
"role": {
22
14
"description": "Filter by role: all, admin, member",
0 commit comments