Remove a Module from a Device
remove_module_from_deviceRemove a module from a specified device slot, power-cycling the device and disconnecting cables from that module's ports. Confirm this destructive action with the user first.
Instructions
Remove the module in a slot. The device is power-cycled; cables on the module's ports are removed.
CRITICAL: Destructive. Confirm with the user ("Remove the module in [slot] of [device]?") first.
Examples:
"Take the serial card out of R1 slot 0/0"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device display name as shown in Packet Tracer (e.g. 'Router0', 'PC1') | |
| slot | Yes | Slot path, e.g. '0/0' (see get_device_model_details) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |