index
Index a codebase for semantic search using auto, full, or load-only modes. Required first step to enable natural language code queries.
Instructions
Index a codebase for semantic search. REQUIRED FIRST STEP.
Modes:
auto (default): Smart detection. If index exists, updates incrementally.
full: Force complete re-index.
load-only: Just load existing index without any indexing.
Creates a .codebaxing/ folder in the codebase directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Indexing mode | auto |
| path | Yes | Absolute path to the codebase directory to index | |
| embedding_model | No | Embedding model | all-MiniLM-L6-v2 |
| file_extensions | No | File extensions to include |