get_call_graph
get_call_graphAnalyze function call relationships in a codebase by querying callers and callees for a specific function or retrieving full call graph statistics.
Instructions
Analyze function call relationships in a codebase. Query callers/callees for a specific function or get full call graph statistics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exclude | No | Glob patterns to exclude from analysis | |
| filePath | No | Optional: file path to narrow down function search (used with functionName) | |
| maxDepth | No | Maximum depth for call chain traversal (default: 2) | |
| maxFiles | No | Maximum number of files to analyze (default: 500) | |
| maxNodes | No | Maximum number of relationship nodes returned (default: 200) | |
| directory | No | Path to the directory to analyze | . |
| functionName | No | Optional: specific function name to query callers/callees for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | Yes | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| schema_version | Yes |