remove_module
Removes a module from a device slot, power cycles the device, and returns the ports that disappeared.
Instructions
Remove the module in a slot, power cycling the device like add_module. Returns the ports that disappeared with it.
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>",
"slot": "<slot>"
},
"name": "remove_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Slot path holding the module to remove. | |
| device | Yes | Router or switch name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | ||
| device | Yes | ||
| module | Yes | ||
| cut_links | No | ||
| ports_added | Yes | ||
| ports_removed | Yes |