open_network
Open a .pkt or .pka file. Unsaved changes are discarded unless you provide a save path.
Instructions
Open a .pkt or .pka file. Unsaved changes in the current network are discarded unless save_current_to gives a path to save them first. Never shows a dialog.
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": "open_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of a `.pkt` or `.pka` file. | |
| save_current_to | No | Save the current network here first. Without it, unsaved changes are discarded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| devices | Yes | ||
| saved_previous | No |