Maintain the local index
maintain_indexInspect, compact, or migrate the local LanceDB index to manage its size and format, ensuring consistent state without executing project code.
Instructions
Inspect, compact, and migrate the local LanceDB index with bounded, explicit maintenance operations; no project code is executed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Project directory | . |
| operation | No | Inspect the local index, compact its fragments, or migrate local Lance manifests | inspect |
| delete_unverified | No | For compaction, remove unverified fragments after a safe snapshot | |
| cleanup_older_than_days | No | For compaction, prune table versions older than this many days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |