pt_delete_device
Deletes a device from the active Packet Tracer topology by name and confirms its removal, keeping your network diagram accurate after reconfiguration or cleanup.
Instructions
Delete a device from the active topology in Packet Tracer. Uses getLogicalWorkspace().removeDevice() and verifies the device is gone.
Parameters:
device_name: exact device name (e.g. "R1", "PC3", "Laptop-WAN")
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": {
"device_name": "<device_name>"
},
"name": "pt_delete_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes |