Save the Network to a File
save_network_fileWrites the current Packet Tracer topology to a specified absolute .pkt path without prompting, overwriting existing files and returning the saved path.
Instructions
Save the current network as a .pkt file at an absolute path, without a dialog. Overwrites an existing file at that path. Returns the saved path.
Examples:
"Save this topology to ~/labs/campus.pkt"
"Back up the network"
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": "save_network_file"
}
}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 |