refresh_graph
Rebuild the dependency graph from scratch after adding or deleting files to ensure accurate impact analysis. Returns graph statistics and detects circular dependencies.
Instructions
Rebuild the dependency graph from scratch. Call this after significant file additions/deletions, or if analyze_impact results seem stale. Returns graph statistics including file count, edge count, build time, and any circular dependencies detected.
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": {
"projectRoot": "<projectRoot>"
},
"name": "refresh_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the project root directory | |
| tsconfigPath | No | Optional tsconfig path relative to projectRoot |