<GeneratedNotice kind="generated-mcp" />

<SourceBanner sourcePath="packages/fabric-mcp/src/tools.ts" owner="mcp" generated={true} />

## MCP Tool Reference

This is the complete static `fabric_*` source catalog, including legacy hosted definitions.
The authenticated beta exposes the project-bound local subset listed in the MCP Overview plus
the pinned Fractal engine's dynamic `fractal_*` surface. Indexer lifecycle, arbitrary-output,
browser visualizer, and caller-selected filesystem tools are filtered from local connector access.
Each tool page includes the full description, input schema, and required fields.

| Tool | Description |
| ---- | ----------- |
| [fabric\_context\_gen](/mcp/tools/fabric_context_gen) | Auto-generate context files from the indexed knowledge graph. |
| [fabric\_contracts](/mcp/tools/fabric_contracts) | List every exported symbol in the indexed graph, ranked by structural fan-in. |
| [fabric\_debt](/mcp/tools/fabric_debt) | Inventory TODO/FIXME/HACK/@deprecated markers with source attribution. |
| [fabric\_explain](/mcp/tools/fabric_explain) | Full structural summary of one exact symbol. |
| [fabric\_govern](/mcp/tools/fabric_govern) | Check proposed code against governance rules. |
| [fabric\_govern\_add](/mcp/tools/fabric_govern_add) | Add a governance rule. |
| [fabric\_impact](/mcp/tools/fabric_impact) | Call before refactoring to see "what breaks if I change this?" Reverse-walks call, import, test, and contract edges to surface every node that would be affected — with a risk label (LOW/MEDIUM/HIGH), the specific API contracts that would break, and tests that may go stale. |
| [fabric\_index](/mcp/tools/fabric_index) | Index a codebase directory. |
| [fabric\_list\_snapshots](/mcp/tools/fabric_list_snapshots) | List cloud snapshots for a repo. |
| [fabric\_pull](/mcp/tools/fabric_pull) | Restore a snapshot from the Fabric cloud into the local index. |
| [fabric\_query](/mcp/tools/fabric_query) | Ask "what symbols match this name and what do they connect to?" Matches nodes by name (case-insensitive substring + optional Damerau–Levenshtein fuzzy), then walks edges up to `depth` hops. |
| [fabric\_recent\_changes](/mcp/tools/fabric_recent_changes) | Files sorted by recency — discover what changed most recently without enumerating paths first. |
| [fabric\_reindex](/mcp/tools/fabric_reindex) | Call after editing files to keep the graph current without reparsing the whole repo. |
| [fabric\_slice](/mcp/tools/fabric_slice) | Build an LLM-ready context window for a target symbol under a deterministic cl100k\_base BPE budget. |
| [fabric\_staleness](/mcp/tools/fabric_staleness) | Does the indexed state match disk? |
| [fabric\_status](/mcp/tools/fabric_status) | Call this first to orient on the local code index: node/edge counts, governance rule count, store size, and per-type breakdown. |
| [fabric\_sync\_now](/mcp/tools/fabric_sync_now) | Upload a snapshot of the local knowledge graph to the Fabric cloud for disaster recovery. |
| [fabric\_text\_search](/mcp/tools/fabric_text_search) | Graph-aware regex grep. |
| [fabric\_visualize](/mcp/tools/fabric_visualize) | Open an interactive 3D code graph of the indexed codebase in your default browser. |
