index_repo
Index a repository by creating a hybrid dense and BM25 retrieval index for natural-language code Q&A.
Instructions
Ingest a repository and build the hybrid (dense + BM25) index.
Args: path: absolute path to the repo root to index.
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_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |