restore
Undo all server-made edits to a LabVIEW VI by restoring the pre-write backup and saving the current file as a before-restore copy.
Instructions
Undo every change made through this server: put back <name>.bak.vi, the copy saved before the first write,
and keep the current file as <name>.before-restore.vi.
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": "restore"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vi_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |