get_graph_stats
Analyze a codebase to retrieve dependency graph statistics, including total modules, total dependencies, and circular dependencies detected.
Instructions
Returns statistics about the dependency graph including total modules, total dependencies, and any circular dependencies detected.
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": "get_graph_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| src_dir | No | Source directory to analyze | src |
| scan_dirs | No | Optional list of directories to scan (relative to project root unless absolute). Overrides src_dir. | |
| project_root | No | Project root directory (defaults to server cwd if omitted) | |
| ignore_patterns | No | Regex patterns for files to ignore (applied to normalized paths). |