repo.refresh_index
Rebuild or refresh the BM25 search index to ensure accurate code search results. Use force=true for a complete rebuild from scratch.
Instructions
Build or incrementally refresh the BM25 search index. Run this before searching or bundling if the index is stale or not yet built. Use force=true to rebuild from scratch.
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": "repo.refresh_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force a full rebuild even if the index appears current. |