sync_start
Starts a reconciliation of the search index with local documents: ingests new/changed files, removes vanished ones, and returns a job ID for status polling.
Instructions
Reconcile the index with the document roots (or one path inside them).
Returns a jobId immediately; poll sync_status until state is 'succeeded' or 'failed'. New and changed files are ingested, byte-identical files skipped, vanished files removed from the index. Only the latest sync job is retained — starting a new one, or a server restart, discards the previous job's record.
Only one sync runs against an index at a time. If one is already in
progress — in this server or in another process, such as a
minirag-mcp sync in a terminal — this call fails immediately with a
message identifying it, and no job is started. Single-file ingests and
queries are never blocked by a running sync.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||