Source:
packages/fabric-mcp/src/tools.tsmcpgeneratedfabric_text_search
Graph-aware regex grep. Greps for a pattern across indexed source files (Rust regex / RE2 syntax — no catastrophic backtracking) and enriches each match with the owning symbol from the typed graph: file:line, the matched line, plus owning_symbol/symbol_type/parent_symbol/tier. Use when an issue describes a symptom in prose ("endpoint should not contain dots", "should raise DeprecationWarning") and you need to find ALL fix sites — not just the first one a structural query surfaces. Owning-symbol resolution uses the closest preceding indexed FN/TYP/IFC/TST start_line; module-level matches between functions may misattribute.
Input schema
| Field | Type | Required | Description |
|---|---|---|---|
pattern | string | yes | Regex pattern. Case-sensitive; prepend (?i) for case-insensitive. |
max_results | number | no | Cap on returned matches. (default: 50) |
Source
Source: packages/fabric-mcp/src/tools.ts
