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
@@ -193518,7 +193540,7 @@ function registerAnnotationSearchTool(server) {
193518
193540
{
193519
193541
search: external_exports.string().describe("Full-text search query matched against annotation content, metadata, and label (SQLite FTS MATCH syntax; use * for prefix matching)."),
193520
193542
category: external_exports.string().optional().describe("Restrict search to a specific category."),
193521
-
limit: external_exports.number().optional().describe("Maximum number of results (default: 50).")
193543
+
limit: external_exports.number().int().positive().optional().describe("Maximum number of results (default: 50).")
193522
193544
},
193523
193545
async ({ search, category, limit }) => {
193524
193546
const store = sessionDataManager.getStore();
@@ -193603,7 +193625,7 @@ function registerAuditListFindingsTool(server) {
limit: external_exports.number().optional().describe("Maximum number of results.")
193628
+
limit: external_exports.number().int().positive().max(1e3).optional().describe("Maximum number of results (1\u20131000).")
193607
193629
},
193608
193630
async ({ owner, repo, limit }) => {
193609
193631
const store = sessionDataManager.getStore();
@@ -193712,9 +193734,10 @@ function registerQueryResultsCacheLookupTool(server) {
193712
193734
cacheKey: external_exports.string().optional().describe("Look up by exact cache key (if known)."),
193713
193735
queryName: external_exports.string().optional().describe('Query name to search for (e.g. "PrintAST", "CallGraphFrom").'),
193714
193736
databasePath: external_exports.string().optional().describe("Database path to search for."),
193715
-
language: external_exports.string().optional().describe('Filter by language (e.g. "cpp", "javascript").')
193737
+
language: external_exports.string().optional().describe('Filter by language (e.g. "cpp", "javascript").'),
193738
+
limit: external_exports.number().int().positive().max(500).optional().describe("Maximum number of cache entries to return when listing by filter (default: 50, max: 500).")
193716
193739
},
193717
-
async ({ cacheKey: cacheKey2, queryName, databasePath, language }) => {
@@ -170,7 +170,7 @@ function registerAnnotationSearchTool(server: McpServer): void {
170
170
{
171
171
search: z.string().describe('Full-text search query matched against annotation content, metadata, and label (SQLite FTS MATCH syntax; use * for prefix matching).'),
172
172
category: z.string().optional().describe('Restrict search to a specific category.'),
173
-
limit: z.number().optional().describe('Maximum number of results (default: 50).'),
173
+
limit: z.number().int().positive().optional().describe('Maximum number of results (default: 50).'),
Copy file name to clipboardExpand all lines: server/src/tools/cache-tools.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,9 @@ function registerQueryResultsCacheLookupTool(server: McpServer): void {
44
44
queryName: z.string().optional().describe('Query name to search for (e.g. "PrintAST", "CallGraphFrom").'),
45
45
databasePath: z.string().optional().describe('Database path to search for.'),
46
46
language: z.string().optional().describe('Filter by language (e.g. "cpp", "javascript").'),
47
+
limit: z.number().int().positive().max(500).optional().describe('Maximum number of cache entries to return when listing by filter (default: 50, max: 500).'),
47
48
},
48
-
async({ cacheKey, queryName, databasePath, language })=>{
0 commit comments