new_network
Start an empty network in pktctl, discarding unsaved changes unless you pass save_current_to to save the current topology first.
Instructions
Start an empty network. Unsaved changes are discarded unless save_current_to gives a path to save them first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "new_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_current_to | No | Save the current network here first. Without it, unsaved changes are discarded. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cleared | Yes | ||
| saved_previous | No |