index_code
Index code repositories for AI coding agents to create searchable memory and architecture diagrams. Supports local and remote indexing tiers.
Instructions
Index a code repository (Tier 1 local, Tier 2 via agent)
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>",
"repo_id": "<repo_id>"
},
"name": "index_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | ||
| repo_id | Yes | ||
| service_id | No | ||
| force_reindex | No | ||
| tier | No | ||
| batch_size | No |