Reindex Vault
reindexUpdate the index after external file modifications. Only call after changes by text editor, sync tool, or other process; internal updates index automatically.
Instructions
Submit an incremental reindex job to the writer.
Only needed when files are modified outside this server — for example, by a text editor, a sync tool, or another process writing directly to the vault directory. Do NOT call this after using 'write', 'edit', 'delete', or 'rename' — those tools update the index immediately as part of the operation.
To rebuild all embeddings from scratch (e.g. after changing the embedding model), use 'build_embeddings' with force=True.
Returns:
Dict with status: "queued". The reindex runs asynchronously on
the writer thread. Poll get_index_status for completion:
- ``status == "queryable"`` AND ``queue_depth == 0`` AND
``in_flight is None`` → reindex completed.
- ``last_reindex_error`` not ``None`` → the most recent async
reindex failed on the writer thread; the value is the
stringified exception. Operators can re-run ``reindex`` to
retry; a subsequent successful run clears the field.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||