Refresh code index
refresh_indexUpdate the retrieval index by rescanning the repository after file changes, ensuring search results reflect current code without modifying files.
Instructions
Rescan the configured repository and rebuild the in-memory retrieval index after files change. Repository files are never modified.
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": "refresh_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| skipped | Yes | ||
| fileCount | Yes | ||
| indexedAt | Yes | ||
| chunkCount | Yes | ||
| durationMs | Yes | ||
| symbolCount | Yes |