get_reindex_status
Poll background reindex progress and completion status after reindexing documents, with processed totals, percent complete, error counts, and failed file details.
Instructions
Get the current status of a background reindex operation.
Lightweight — does not compute full index statistics. Use this to poll progress after calling reindex_documents().
Returns: JSON string with reindex status. When active: operation name, progress (processed/total), percent complete, indexed/skipped/errors counts, and start time. When inactive: active=false, plus last_result or last_error from the most recent completed reindex. When the last run had errors, last_result includes failed_files (deduped [{"path", "reason"}, ...], capped at 100) and failed_files_truncated, so you can see exactly which files failed and why. A failed full_rebuild surfaces in last_error, whose message lists the first failing paths, and the partial last_result still carries the failed_files list.
Usage: Call repeatedly after reindex_documents() to monitor progress. When reindex.active becomes false, the operation is complete. Use get_index_stats() for full index health metrics.
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": "get_reindex_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |