index_status
Reports whether the codebase index is ready, file and chunk counts, and if indexing is running. Poll after updates or rebuilds to confirm completion and detect failures.
Instructions
Reports whether the codebase index is ready to search, how many files and chunks it covers, and whether indexing is currently running. After calling index_update or index_rebuild, poll this to find out when the work finished. Also reports whether any subsystem failed, so you never rely on a silently broken index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| phase | Yes | ||
| ready | Yes | ||
| stale | Yes | ||
| chunks | Yes | ||
| reason | No | ||
| reused | Yes | ||
| running | Yes | ||
| skipped | Yes | ||
| degraded | Yes | ||
| embedded | Yes | ||
| progress | Yes | ||
| astChunks | Yes | ||
| vecVersion | Yes | ||
| lastUpdated | Yes | ||
| nonCodeChunks | Yes | ||
| fallbackChunks | Yes |