Index a repository
index_repoParse a repository to build its code graph in Neo4j for analyzing dependencies and change impact. Re-index after changes; unchanged files are skipped by content hash.
Instructions
Parse a repository and build its code graph in Neo4j. Run this once per project, and again after significant changes — unchanged files are skipped by content hash, so re-indexing is cheap. Supports Python, TypeScript, TSX and JavaScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the repository root | |
| repo | No | Identifier for this repo; defaults to the directory name | |
| force | No | Re-parse and rewrite every file, ignoring content hashes |