We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e5d04 commit 5521758Copy full SHA for 5521758
1 file changed
ai/mcp/server/github-workflow/services/toolService.mjs
@@ -97,8 +97,15 @@ function initializeToolMapping() {
97
}
98
99
100
-function listTools({ cursor = 0, limit = 10 } = {}) {
+function listTools({ cursor = 0, limit } = {}) {
101
initializeToolMapping();
102
+
103
+ if (!limit) {
104
+ return {
105
+ tools: allTools,
106
+ nextCursor: null
107
+ };
108
+ }
109
110
const start = cursor;
111
const end = start + limit;
0 commit comments