sync_index
Keep code analysis data up-to-date by synchronizing indexes, removing stale entries, or resetting derived data without losing project tasks or configurations.
Instructions
Synchronize, cleanup, or reset analysis-derived data (indexed functions, FlexSearch, cached audits, code maps, schema overlays). Project tasks, analyzer configs, and whitelist entries are preserved on reset.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sync_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | sync: update index from files; cleanup: remove index rows for deleted files; reset: clear all analysis-derived data (not tasks/config/whitelist) | sync |
| path | No | Optional specific path to sync |