initialize
Prepares the semantic code search system by loading the embedding model and building or updating the code index. Use force_reindex to rebuild the entire index.
Instructions
Initialize or re-initialize the semantic code search system.
Loads the embedding model and builds or updates the code index. Use force_reindex=True to rebuild the entire index.
Progress will be reported during indexing.
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": "initialize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force_reindex | No | Force full reindex even if files haven't changed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| status | Yes | ||
| total_chunks | Yes | ||
| files_indexed | Yes |