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 e3809fe
Browse filesBrowse the repository at this point in the historyBrowse files
* Return every label from list_label instead of the first 100
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d8a9000c-ebe8-4118-ae89-a942861e4166
* Page list_label with cursors instead of fetching every label
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d8a9000c-ebe8-4118-ae89-a942861e4166
* Match list_issues wording in the list_label description
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d8a9000c-ebe8-4118-ae89-a942861e4166
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: d8a9000c-ebe8-4118-ae89-a942861e4166
Copy file name to clipboardExpand all lines: pkg/github/__toolsnaps__/list_label.snap
+35-2Lines changed: 35 additions & 2 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 labels from a repository, ordered by issue count (descending) so the most-used labels are returned first",
7
+
"description": "List labels from a repository, ordered by issue count (descending) so the most-used labels are returned first. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.",
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",
Description: t("TOOL_LIST_LABEL_DESCRIPTION", "List labels from a repository, ordered by issue count (descending) so the most-used labels are returned first"),
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. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter."),
146
149
Annotations: &mcp.ToolAnnotations{
147
150
Title: t("TOOL_LIST_LABEL_TITLE", "List labels from a repository"),
0 commit comments