Index a project
index_projectBuilds or refreshes a semantic index for a project root, embedding new or changed files and removing deleted ones to enable natural-language code search.
Instructions
Build or refresh the semantic index of a project root. Embeds only new, edited or outdated files and drops deleted ones. Pass duplicates: true once to enable find_duplicates for this project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to project root | |
| force | No | Discard the stored index and rebuild it from scratch | |
| duplicates | No | true builds the duplicate index, false deletes it - omit to keep it as is | |
| extensions | No | File extensions to index - omit to keep the project's list |