index_repo
Indexes a repository for semantic code search, storing the index in a centralized location to keep the repository clean.
Instructions
Index a repository for semantic code search.
The index is stored in a centralized location to avoid polluting the repository with .rag folders.
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": {
"repo_path": "<repo_path>"
},
"name": "index_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Absolute path to the repository to index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |