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
feat(mcp): expose BM25 query and sort_by params in search_graph schema
The search_graph handler already supports FTS5 BM25 full-text search via a
'query' parameter and sort control via 'sort_by', but neither was declared
in the tool's inputSchema. AI agents calling search_graph had no way to
discover or use these parameters.
Adds to inputSchema:
- query: BM25 full-text search with structural boosting (Function/Method
+10, Route +8, Class +5, high-fan-in +3). Filters out File/Folder/Module/
Variable/Project noise. Tokenizes input as OR terms for broad matching.
- sort_by: 'relevance' (default with query), 'name', 'file_path'
Updates tool description to document both search modes:
(1) query='terms' for ranked full-text discovery
(2) name_pattern='regex' for exact pattern matching
0 commit comments