trace_execution_path
Trace code execution paths across multiple files to understand complex call flows, identify issues, and assess technical debt with architectural insights.
Instructions
Trace execution path through multiple files starting from an entry point. Shows complete call flow with intelligent analysis and architectural insights.
WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
analysisDepth | No | Level of analysis detail | detailed |
analysisType | No | Type of analysis to perform | comprehensive |
code | No | The code to analyze (for single-file analysis) | |
entryPoint | Yes | Entry point like ClassName::methodName or functionName | |
filePath | No | Path to single file to analyze | |
files | No | Array of specific file paths (for multi-file analysis) | |
language | No | Programming language | javascript |
maxDepth | No | Maximum directory depth for multi-file discovery (1-5) | |
projectPath | No | Path to project root (for multi-file analysis) | |
showParameters | No | Include parameter information in trace | |
traceDepth | No | Maximum depth to trace (1-10) |