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
@@ -195400,16 +195396,16 @@ function registerAnnotationDeleteTool(server) {
195400
195396
function registerAnnotationSearchTool(server) {
195401
195397
server.tool(
195402
195398
"annotation_search",
195403
-
"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*").',
195404
195400
{
195405
-
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)."),
195406
195402
category: external_exports.string().optional().describe("Restrict search to a specific category."),
195407
195403
limit: external_exports.number().optional().describe("Maximum number of results (default: 50).")
195408
195404
},
195409
-
async ({ query, category, limit }) => {
195405
+
async ({ search, category, limit }) => {
195410
195406
const store = sessionDataManager.getStore();
195411
195407
const results = store.listAnnotations({
195412
-
search: query,
195408
+
search,
195413
195409
category,
195414
195410
limit: limit ?? 50
195415
195411
});
@@ -195625,24 +195621,23 @@ function registerQueryResultsCacheLookupTool(server) {
195625
195621
function registerQueryResultsCacheRetrieveTool(server) {
195626
195622
server.tool(
195627
195623
"query_results_cache_retrieve",
195628
-
"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.",
195629
195625
{
195630
195626
cacheKey: external_exports.string().describe("The cache key of the result to retrieve."),
195631
-
lineRange: external_exports.tuple([external_exports.number(), external_exports.number()]).optional().describe("Line range [start, end] (1-indexed). For graphtext/CSV output."),
195632
-
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."),
195633
195629
fileFilter: external_exports.string().optional().describe("For SARIF: only include results whose file path contains this string."),
195634
-
grep: external_exports.string().optional().describe("Text search filter: only include lines/results containing this term."),
195635
195630
maxLines: external_exports.number().optional().describe("Maximum number of lines to return for line-based formats (default: 500)."),
195636
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