vi_text
Extracts a LabVIEW VI’s text export, including front-panel control names, descriptions, captions, diagram comments, structures, and string constants. Use it to inspect readable VI content; use snapshots for wires and node types.
Instructions
Text content of a VI as LabVIEW's own string export (XML-like): front-panel controls (type + name, nested for clusters), descriptions, captions, and with include_diagram=true the block-diagram strings: free labels/comments, structures (case structures with one block per case), string constants. It does NOT include wires, node types or numeric constants — use vi_snapshot to see those.
raw=true returns the export unmodified (with font markup).
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_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| path | Yes | ||
| include_diagram | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |