Index workspace symbols
index_workspaceParse a directory into a persisted symbol index of definitions, references, and call sites, enabling cross-file navigation when run before lookup queries.
Instructions
Parse all supported source files under a directory into a persisted symbol index (definitions + identifier occurrences + call sites), backed by SQLite when available (JSON fallback). Run once before find_references / go_to_definition. Indexes are kept per root: indexing a new root adds a second index instead of replacing the existing one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | workspace root directory | |
| maxFiles | No | cap on files to index (default 20000 with SQLite store, 1500 with JSON fallback; hard max 100000 / 5000) |