generate
Build a structural graph of any codebase using tree-sitter parsing. Supports 20 languages and cross-stack relationships.
Instructions
Scan the codebase and (re)build the structural graph using tree-sitter AST parsing. Auto-detects 20 languages and frameworks. Runs cross-stack resolvers (HTTP, gRPC, GraphQL, WebSocket, queues, events, CLI). Incremental by default — reuses a per-file parse cache so only changed files re-parse. Accepts a local path or a git URL (cloned on demand). Call on first use or after major refactors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | Absolute path to the repository to scan. Defaults to the repo the server was started with. | |
| incremental | No | Reuse the per-file parse cache so unchanged files skip re-parsing (default True). Set False to force a full reparse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |