vi_dump
Reads a LabVIEW VI's block diagram as a graph of nodes, nested structures and wires with terminal-level connections, plus constant values and front-panel classes, so you can inspect or edit the VI.
Instructions
The block diagram as a graph: every node (controls, indicators, constants, functions by palette name, subVIs, loops, cases and their frames, tunnels, shift registers, property/invoke nodes), which diagram it sits in ("in": a structure id, "case_4#1" = frame 1), and every wire with its source and sinks as "node.terminal". Node ids are what vi_edit's "remove" and "existing" take; dump again after each edit. Controls carry their front-panel class ("vi_class": "WaveformChart", "Slide", ...). Property Nodes carry "vi_class", the linked "control" label if any, "items" (terminal names, top to bottom) and "write"; Invoke Nodes their "method".
"source" says how it was read. method="auto" first uses LabVIEW's compiler export ("dfir": adds wire data types and case frame values, but refuses VIs with some controls or nodes), then walks the diagram objects instead ("scan": works on any VI, including broken ones). Both include constant values. method="dfir" or "scan" forces one. Password-protected VIs cannot be read.
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": {
"path": "<path>"
},
"name": "vi_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| method | No | auto |