Index Repo
index_repoBuild or incrementally refresh a local repository index for hybrid RAG search and code outlines, so AI agents can query and orient across codebases.
Instructions
Index or incrementally refresh a local repository for hybrid RAG search and outlines.
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 |
|---|---|---|---|
| name | No | Optional friendly display name / repo_id alias. Defaults to folder name. | |
| path | Yes | Absolute or relative filesystem path to the repository root directory. | |
| force | No | If True, re-chunk and re-embed all files ignoring the incremental cache. | |
| time_budget_seconds | No | Optional soft cutoff in seconds (defaults to CODE_INDXR_MCP_TIME_BUDGET=45s). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||