Trace TIA Call Graph
tia_trace_call_graphTrace PLC block call relationships downstream, upstream, or both from a selected block; omit block identifiers to list OB entry blocks and their direct calls.
Instructions
Walk downstream, upstream or both directions through indexed call edges from one block. Without name/number/relativePath it lists the OB entry blocks and their direct calls instead.
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": {
"exportDir": "<exportDir>"
},
"name": "tia_trace_call_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| number | No | ||
| maxDepth | No | Default 2. | |
| maxEdges | No | Default 250; for the entry list, direct calls per OB (default 100, at most 200). | |
| direction | No | Default downstream. | |
| exportDir | Yes | ||
| relativePath | No |