Index Repositories
repo_indexGenerate per-user external indexes for local repositories and add them to the local catalog; use discover to locate repos and dryRun for a read-only preview.
Instructions
Index local repositories: generate per-user external indexes and add them to the local catalog. Pass discover:true to find repository roots under the given paths first. Pass dryRun:true to discover and report without writing any indexes or catalog (read-only). Without dryRun this mutates the persistent local catalog, so it is not a pure read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "repo_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Single repository path. | |
| depth | No | Maximum discovery depth. | |
| limit | No | Maximum discovered repositories. | |
| paths | No | Repository paths, or roots when discover is true. | |
| dryRun | No | Discover and report repositories without writing indexes or mutating the catalog. Read-only. Defaults to false. | |
| catalog | No | Optional catalog JSON path. | |
| discover | No | Discover repositories under the provided paths before indexing. |