generateFlowDiagram
Generate a Mermaid call graph diagram for any function to trace its execution flow across the codebase. Choose full graph or critical-only mode for focused analysis.
Instructions
Generate a Mermaid call graph diagram for a function. Output renders in any markdown viewer (GitHub, VSCode, etc.).
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": {
"entryPoint": "<entryPoint>"
},
"name": "generateFlowDiagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryPoint | Yes | Function name or keyword | |
| mode | No | "full" shows full call graph; "critical-only" shows entry + its critical operations |