clear_index
Permanently clears all indexed data for a codebase, fixing corrupted search indexes, removing obsolete projects, and freeing storage before reindexing.
Instructions
<when_to_use> Clear stale data before reindexing after major code changes Remove old indexed codebases no longer needed Fix corrupted index causing search issues </when_to_use>
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": "clear_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codebase_path | No |