index
Manage code intelligence index lifecycle: build, sync, cache, status, and schema actions. Query or update AST-based indexes for local code analysis and project health grading.
Instructions
Code-intelligence (codegraph-compatible) index lifecycle hub. Actions: auto, build, cache, full, knowledge, schema, status, sync. Pass action=help with target_action for an exact action schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Action sub-mode (e.g. summary|cycles). | |
| limit | No | Max results. | |
| query | No | Search query/pattern. | |
| scope | No | Action discriminator (e.g. point|graph). | |
| action | Yes | Which business capability to invoke, or help for discovery. One of: auto, build, cache, full, help, knowledge, schema, status, sync | |
| symbol | No | Symbol/function name. | |
| language | No | Language hint (usually auto). | |
| file_path | No | Target file path. | |
| access_mode | No | Status-only read mode; never creates or migrates an index. | read_existing |
| function_name | No | Function name (alias of symbol). | |
| output_format | No | Output format: JSON. | |
| target_action | No | Business action to describe when action is help. |