get_stats
Get graph statistics including node and edge counts by type to verify data loading, understand graph size, and identify available node and edge types before running queries.
Instructions
Get graph statistics: node and edge counts by type.
Use this to:
Verify analysis completed: nodeCount > 0 means the graph is loaded
Understand graph size before running expensive queries
See what node/edge types exist in this particular codebase
Debug empty results: check if expected node types are present
Returns:
nodeCount, edgeCount: Total counts
nodesByType: {FUNCTION: 1234, CLASS: 56, ...}
edgesByType: {CALLS: 5678, CONTAINS: 3456, ...}
Use BEFORE querying an unfamiliar graph to understand what data is available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||