Delete a Link
delete_linkRemoves the cable connected to a specified device port, disconnecting links in Cisco Packet Tracer topologies. Confirm the removal before use because the action is destructive.
Instructions
Remove the cable attached to a device port.
CRITICAL: Destructive. Always ask "Confirm removal of the link on [device] [port]?" and wait for the user's "yes" before invoking this tool.
Examples:
"Disconnect R1 Gi0/0"
"Remove the cable between PC0 and the switch"
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": "<device>",
"port": "<port>"
},
"name": "delete_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Full port name (e.g. 'GigabitEthernet0/0', 'FastEthernet0', 'Serial0/1/0') | |
| device | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |