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
-`fields`: Subset of fields to return for each organization. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields, e.g. just 'login'. (string[], optional)
983
984
-`order`: Sort order (string, optional)
984
985
-`page`: Page number for pagination (min 1) (number, optional)
985
986
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
@@ -1212,6 +1213,7 @@ The following sets of tools are available:
1212
1213
1213
1214
-**get_file_contents** - Get file or directory contents
1214
1215
-**Required OAuth Scopes**: `repo`
1216
+
-`fields`: Subset of fields to return for each entry when the path is a directory. If omitted, all fields are returned. Ignored when the path is a single file. Use this to reduce response size when listing directories and you only need specific fields, e.g. just 'name' and 'type'. (string[], optional)
1215
1217
-`owner`: Repository owner (username or organization) (string, required)
1216
1218
-`path`: Path to file/directory (string, optional)
1217
1219
-`ref`: Accepts optional git refs such as `refs/tags/{tag}`, `refs/heads/{branch}` or `refs/pull/{pr_number}/head` (string, optional)
@@ -1282,6 +1284,7 @@ The following sets of tools are available:
1282
1284
1283
1285
-**search_code** - Search code
1284
1286
-**Required OAuth Scopes**: `repo`
1287
+
-`fields`: Subset of fields to return for each code search result. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields; omitting 'repository' in particular drops the largest per-result object. (string[], optional)
1285
1288
-`order`: Sort order for results (string, optional)
1286
1289
-`page`: Page number for pagination (min 1) (number, optional)
1287
1290
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
@@ -1394,6 +1397,7 @@ The following sets of tools are available:
1394
1397
1395
1398
-**search_users** - Search users
1396
1399
-**Required OAuth Scopes**: `repo`
1400
+
-`fields`: Subset of fields to return for each user. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields, e.g. just 'login'. (string[], optional)
1397
1401
-`order`: Sort order (string, optional)
1398
1402
-`page`: Page number for pagination (min 1) (number, optional)
1399
1403
-`perPage`: Results per page for pagination (min 1, max 100) (number, optional)
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/get_file_contents.snap
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,24 @@
6
6
"description": "Get the contents of a file or directory from a GitHub repository",
7
7
"inputSchema": {
8
8
"properties": {
9
+
"fields": {
10
+
"description": "Subset of fields to return for each entry when the path is a directory. If omitted, all fields are returned. Ignored when the path is a single file. Use this to reduce response size when listing directories and you only need specific fields, e.g. just 'name' and 'type'.",
11
+
"items": {
12
+
"enum": [
13
+
"type",
14
+
"name",
15
+
"path",
16
+
"size",
17
+
"sha",
18
+
"url",
19
+
"git_url",
20
+
"html_url",
21
+
"download_url"
22
+
],
23
+
"type": "string"
24
+
},
25
+
"type": "array"
26
+
},
9
27
"owner": {
10
28
"description": "Repository owner (username or organization)",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_code.snap
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@
6
6
"description": "Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.",
7
7
"inputSchema": {
8
8
"properties": {
9
+
"fields": {
10
+
"description": "Subset of fields to return for each code search result. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields; omitting 'repository' in particular drops the largest per-result object.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_orgs.snap
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@
6
6
"description": "Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.",
7
7
"inputSchema": {
8
8
"properties": {
9
+
"fields": {
10
+
"description": "Subset of fields to return for each organization. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields, e.g. just 'login'.",
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/search_users.snap
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,20 @@
6
6
"description": "Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.",
7
7
"inputSchema": {
8
8
"properties": {
9
+
"fields": {
10
+
"description": "Subset of fields to return for each user. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields, e.g. just 'login'.",
Description: "Accepts optional commit SHA. If specified, it will be used instead of ref",
764
764
},
765
+
"fields": {
766
+
Type: "array",
767
+
Description: "Subset of fields to return for each entry when the path is a directory. If omitted, all fields are returned. Ignored when the path is a single file. Use this to reduce response size when listing directories and you only need specific fields, e.g. just 'name' and 'type'.",
0 commit comments