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
@@ -195412,16 +195396,16 @@ function registerAnnotationDeleteTool(server) {
195412
195396
function registerAnnotationSearchTool(server) {
195413
195397
server.tool(
195414
195398
"annotation_search",
195415
-
"Substring search across annotation content, metadata, and labels (case-insensitive SQL LIKE matching).",
195399
+
'Full-text search across annotation content, metadata, and labels using SQLite FTS (token-based MATCH; use * suffix for prefix matching, e.g. "vulnerab*").',
195416
195400
{
195417
-
query: external_exports.string().describe("Search term \u2014 matched as a substring against content, metadata, and label."),
195401
+
search: external_exports.string().describe("Full-text search query matched against annotation content, metadata, and label (SQLite FTS MATCH syntax; use * for prefix matching)."),
195418
195402
category: external_exports.string().optional().describe("Restrict search to a specific category."),
195419
195403
limit: external_exports.number().optional().describe("Maximum number of results (default: 50).")
195420
195404
},
195421
-
async ({ query, category, limit }) => {
195405
+
async ({ search, category, limit }) => {
195422
195406
const store = sessionDataManager.getStore();
195423
195407
const results = store.listAnnotations({
195424
-
search: query,
195408
+
search,
195425
195409
category,
195426
195410
limit: limit ?? 50
195427
195411
});
@@ -195637,24 +195621,23 @@ function registerQueryResultsCacheLookupTool(server) {
195637
195621
function registerQueryResultsCacheRetrieveTool(server) {
195638
195622
server.tool(
195639
195623
"query_results_cache_retrieve",
195640
-
"Retrieve cached query results with optional subset selection. Supports line ranges (for graphtext/CSV), SARIF result indices, file filtering, and text search to return only the relevant portion.",
195624
+
"Retrieve cached query results with optional subset selection. Supports line ranges (for graphtext/CSV) and SARIF result indicesand file filtering to return only the relevant portion.",
195641
195625
{
195642
195626
cacheKey: external_exports.string().describe("The cache key of the result to retrieve."),
195643
-
lineRange: external_exports.tuple([external_exports.number(), external_exports.number()]).optional().describe("Line range [start, end] (1-indexed). For graphtext/CSV output."),
195644
-
resultIndices: external_exports.tuple([external_exports.number(), external_exports.number()]).optional().describe("SARIF result index range [start, end] (0-indexed, inclusive)."),
195627
+
lineRange: external_exports.tuple([external_exports.number(), external_exports.number()]).optional().describe("Line range [start, end] (1-indexed, inclusive). For graphtext/CSV output only."),
195628
+
resultIndices: external_exports.tuple([external_exports.number(), external_exports.number()]).optional().describe("SARIF result index range [start, end] (0-indexed, inclusive). For SARIF output only."),
195645
195629
fileFilter: external_exports.string().optional().describe("For SARIF: only include results whose file path contains this string."),
195646
-
grep: external_exports.string().optional().describe("Text search filter: only include lines/results containing this term."),
195647
195630
maxLines: external_exports.number().optional().describe("Maximum number of lines to return for line-based formats (default: 500)."),
195648
195631
maxResults: external_exports.number().optional().describe("Maximum number of SARIF results to return (default: 100).")
'Substring search across annotation content, metadata, and labels (case-insensitive SQL LIKE matching).',
169
+
'Full-text search across annotation content, metadata, and labels using SQLite FTS (token-based MATCH; use * suffix for prefix matching, e.g. "vulnerab*").',
170
170
{
171
-
query: z.string().describe('Search term — matched as a substring against content, metadata, and label.'),
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
173
limit: z.number().optional().describe('Maximum number of results (default: 50).'),
'Retrieve cached query results with optional subset selection. Supports line ranges (for graphtext/CSV), SARIF result indices, file filtering, and text search to return only the relevant portion.',
83
+
'Retrieve cached query results with optional subset selection. Supports line ranges (for graphtext/CSV) and SARIF result indicesand file filtering to return only the relevant portion.',
84
84
{
85
85
cacheKey: z.string().describe('The cache key of the result to retrieve.'),
86
-
lineRange: z.tuple([z.number(),z.number()]).optional().describe('Line range [start, end] (1-indexed). For graphtext/CSV output.'),
87
-
resultIndices: z.tuple([z.number(),z.number()]).optional().describe('SARIF result index range [start, end] (0-indexed, inclusive).'),
86
+
lineRange: z.tuple([z.number(),z.number()]).optional().describe('Line range [start, end] (1-indexed, inclusive). For graphtext/CSV output only.'),
87
+
resultIndices: z.tuple([z.number(),z.number()]).optional().describe('SARIF result index range [start, end] (0-indexed, inclusive). For SARIF output only.'),
88
88
fileFilter: z.string().optional().describe('For SARIF: only include results whose file path contains this string.'),
89
-
grep: z.string().optional().describe('Text search filter: only include lines/results containing this term.'),
90
89
maxLines: z.number().optional().describe('Maximum number of lines to return for line-based formats (default: 500).'),
91
90
maxResults: z.number().optional().describe('Maximum number of SARIF results to return (default: 100).'),
0 commit comments