reindex_file
Update the code index for a single modified or created file after editing, maintaining real-time index accuracy without a full reindex.
Instructions
Reindex a single file after it has been modified or created. Much faster than a full reindex — use this in hooks after Write/Edit tool calls to keep the index up-to-date in real time. Requires OPENAI_API_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the modified file (e.g., "/home/user/project/src/foo.ts") |