Index a project
indexBuilds or refreshes the project's code lookup data so search, symbol lookup, graph, map, and analysis work; accepts absolute or comma-separated paths and updates incrementally.
Instructions
Build or refresh the code index for a project. Call it once per project
when status says indexed is false; search, find_symbol, graph, map and
analyze all need it. Pass an absolute path, or several comma-separated
paths for a monorepo. It is incremental when an index exists, and a file
watcher then keeps the index fresh, so you rarely need to call it again.
Large repositories take a while; progress is reported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the codebase directory (or comma-separated paths) | |
| paths | No | Additional comma-separated paths to index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||