get_active_build
Verify if the build index exists, review its symbol count, and determine if re-indexing is required due to stale compile_commands.
Instructions
Return metadata about the most recently indexed build configuration.
Read-only: yes. Call at session start to check if the index exists, how many symbols it contains, and whether it is stale (needs re-index).
Returns: dict: {index_exists, project_id, total_symbols, total_files, total_refs, config_hash, last_indexed (ISO timestamp), stale (bool — True if compile_commands.json is newer than index)}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_root | No | Project root directory. Auto-detected from CWD if omitted. |