index_repository
Build a queryable symbol graph from a code repository with incremental indexing and optional semantic embeddings for hybrid search.
Instructions
Index a code repository to build the symbol graph. Supports incremental updates.
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_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional project name (defaults to directory name) | |
| path | Yes | Absolute path to the repository root | |
| embeddings | No | Generate semantic embeddings for symbols (enables hybrid search). Downloads ~90MB model on first run. | |
| force_rebuild | No | Force a full re-index from scratch |