repo_index_repository
Index a local repository for semantic code search. Scans files, splits them into functions/classes, and generates embeddings for retrieval.
Instructions
Index a local repository for semantic code search. Scans files, splits them into function/class chunks, generates embeddings using Ollama, and stores them in ChromaDB.
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": "repo_index_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the repository root directory. |