reindex_all
Rebuild the complete search index by re-ingesting all files from scratch. Use after changing embedding models or chunker settings to fix corrupted indexes.
Instructions
Re-ingest ALL indexed files from scratch. Delete existing chunks, then re-ingest every previously-indexed file. Use after changing the embedding model, chunker parameters, or when the index is corrupted. This is a slow, destructive operation — prefer reindex_stale for routine updates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reindex_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| optimizeAfter | No | Run optimize() after all files are re-ingested (default true). Set to false when calling reindex_all in a loop. |