index_status
Check the active indexing backend's freshness and semantic hints usability to determine if synchronization is needed.
Instructions
Inspect the single active indexing backend in read-only mode.
Use this before retrieval when you need to know whether the active backend is fresh and
whether semantic hints are usable. Returns active_backend, a single backend status
object with freshness and hints_usable, and background_monitor (state, reason).
This tool never refreshes indexes; if active_backend is relace and
backend.status.needs_sync is true, run cloud_sync().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trace_id | Yes | Trace ID for correlating logs for this tool call. | |
| active_backend | Yes | The configured active indexing backend. | |
| base_dir | No | Resolved repository base directory, if available. | |
| base_dir_source | No | How the base directory was resolved, when resolution succeeded. | |
| backend | No | Status summary for the active backend, when inspection succeeded. | |
| background_monitor | No | Background monitor state summary, when inspection succeeded. | |
| error | No | Error message explaining why status inspection failed. |