Index project
index_projectRegister projects and rebuild the code graph once after explicit user approval. Pass all projects in one call to analyze cross-repo dependencies without modifying source files.
Instructions
Registers projects and rebuilds the graph once, after explicit user approval. Pass every project in one call: a rebuild costs the whole corpus. It never writes inside the source projects.
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": "index_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| projects | No | ||
| confirmed | No | ||
| languages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| counts | Yes | ||
| project | Yes | ||
| projects | Yes | ||
| snapshot_id | Yes | ||
| generation_id | Yes |