proj_call_graph
Trace what a TwinCAT POU runs by mapping invoked FB instances and called functions or methods recursively to a chosen depth, revealing the call graph from any program or function block.
Instructions
Call graph from a program/FB: FB instances it invokes, functions and methods it calls,
recursively to depth (what runs when this POU runs).
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": {
"root": "<root>"
},
"name": "proj_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||