update_source_index
Rebuild the search index for a source after complex merges, bulk renames, or critical drift detection. Blocks until complete; check status before use.
Instructions
Force a full rebuild of a specific source's index.
Day-to-day the watcher keeps the index in sync automatically; you rarely need this.
Use it after a complex merge, a bulk rename, or when drift detection flags a
critical change (e.g. embedding model swap).
Do NOT call this routinely — it is expensive and blocks until complete.
Call `get_rag_status` first to check if a rebuild is actually needed.
Args:
source: Name of the source to rebuild. Use `list_sources` to discover names.
force: If True, rebuild even when no new git commits are detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | If true, rebuild even when no new git commits are detected. | |
| source | Yes | Name of the source to rebuild (see `list_sources`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |