close
Terminates an open LabVIEW VI, aborting it first, to free its name for reuse by new_vi. Handles unsaved changes by keeping, saving, or discarding them.
Instructions
Close a VI that is open in LabVIEW (aborts it first). Needed before new_vi reuses the name of an open VI.
If it has unsaved changes (hand edits, typed values): unsaved "cancel" (default: keep it open and report),
"save" or "discard".
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": {
"vi_path": "<vi_path>"
},
"name": "close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unsaved | No | cancel | |
| vi_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |