verify_index
Performs read-only structural checks on the local SQLite index: integrity, foreign keys, required tables, FTS5, embedding dimensions, and orphan embeddings. Returns a report with status and suggested repairs.
Instructions
Read-only structural check of the local SQLite index: SQLite integrity_check, foreign-key violations, required-table presence, FTS5 integrity-check, embedding dimension consistency, and orphan embedding detection. Returns a check-by-check report with status (ok/warn/error) and a suggested repair mode for any non-ok finding. Never writes. Use as a preflight before reindex/embed_repo or when search is misbehaving. Returns JSON: { ok, status, checks: [{ name, status, detail, count?, suggested_repair? }] }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||