Open a Network File
open_network_fileLoads a Cisco Packet Tracer .pkt or .pka file by absolute path and returns the result code; warns that it replaces the current network, so confirm before opening.
Instructions
Open a .pkt (network) or .pka (activity) file. Returns Packet Tracer's result code.
CRITICAL: Replaces the open network; unsaved changes may be lost. Confirm with the user first.
Examples:
"Open ~/labs/ospf.pkt"
"Load the activity file I downloaded"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a .pkt/.pka file on the Packet Tracer host |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |