pt_delete_link
Remove a link connected to a specific device interface and verify both ports are disconnected, reporting the far end and cable.
Instructions
Delete the link connected to a specific interface on a device in PT.
Reads both ends back: verified is true only when this port AND the
far-end port no longer have a link. Reports the far end and the cable.
Parameters:
device_name: device name (e.g. "R1")
interface_name: interface name (e.g. "GigabitEthernet0/0", "FastEthernet0/1")
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>",
"interface_name": "<interface_name>"
},
"name": "pt_delete_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_name | Yes | ||
| interface_name | Yes |