Sync the code index
reindexUpdate the codebase index to reflect recent file changes. Incremental sync re-chunks and re-embeds only modified files, and a full rebuild is available with full=true.
Instructions
Bring the index up to date with the working tree. Incremental by default: only files that changed since the last index are re-chunked and re-embedded, and an unchanged tree is a fast no-op, so call this freely after edits. The server also auto-syncs in the background as queries arrive. On a repo that has never been indexed this builds the index from scratch, replying as soon as keyword search is live (seconds) while vectors backfill behind it. Pass full=true to force a rebuild from scratch. Returns what changed plus index status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Force a full rebuild instead of an incremental sync. | |
| path | No | Absolute path to the repository root to index. Defaults to the server's configured root; set it to target a specific repo when a session spans more than one. |