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
{{ message }}
Repository navigation
Commit e0bc20f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_label.snap
+34-6Lines changed: 34 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,23 @@
4
4
"readOnlyHint": true,
5
5
"title": "List labels from a repository"
6
6
},
7
-
"description": "List all labels from a repository, ordered by issue count (descending) so the most-used labels are returned first. has_more is true when the repository has more labels than could be returned; use get_label to check a specific label by name.",
7
+
"description": "List labels from a repository, ordered by issue count (descending) so the most-used labels are returned first. Returns up to 100 labels per page by default. If 'pageInfo.hasNextPage' is true, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter to get the rest. Use get_label to check a specific label by name.",
8
8
"inputSchema": {
9
9
"properties": {
10
+
"after": {
11
+
"description": "Cursor for pagination. Use the cursor from the previous response.",
12
+
"type": "string"
13
+
},
10
14
"owner": {
11
15
"description": "Repository owner (username or organization name) - required for all operations",
12
16
"type": "string"
13
17
},
18
+
"perPage": {
19
+
"description": "Results per page for pagination (min 1, max 100)",
20
+
"maximum": 100,
21
+
"minimum": 1,
22
+
"type": "number"
23
+
},
14
24
"repo": {
15
25
"description": "Repository name - required for all operations",
16
26
"type": "string"
@@ -26,10 +36,6 @@
26
36
"outputSchema": {
27
37
"additionalProperties": false,
28
38
"properties": {
29
-
"has_more": {
30
-
"description": "Whether the repository has more labels than were returned.",
Description: t("TOOL_LIST_LABEL_DESCRIPTION", "List all labels from a repository, ordered by issue count (descending) so the most-used labels are returned first. has_more is true when the repository has more labels than could be returned; use get_label to check a specific label by name."),
148
+
Description: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository, ordered by issue count (descending) so the most-used labels are returned first. Returns up to 100 labels per page by default. If 'pageInfo.hasNextPage' is true, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter to get the rest. Use get_label to check a specific label by name."),
149
149
Annotations: &mcp.ToolAnnotations{
150
150
Title: t("TOOL_LIST_LABEL_TITLE", "List labels from a repository"),
0 commit comments