Disconnect Cables by ID or Device Instance
disconnect_cablesRemove specific cables by identifier or strip all cables attached to a mounted device or modular carrier from the active rack, then re-evaluate PoE budgets and plug clearances. Supply a non-empty 'cable_ids' list, 'instance_id', or both to disconnect their union; 'instance_id' matches both 'from' and 'to' endpoints across a carrier and its child sub-modules while leaving external patch-panel drops intact, whereas omitting both or passing only an empty list returns status 'INVALID' with a PORT_NOT_FOUND issue and zero mutations. Valid calls push an undo snapshot, persist rack.yaml atomically, and return removed IDs, remaining cable count, and updated validation results, succeeding idempotently when targeted IDs are already absent. Use when rewiring ports while keeping hardware mounted; use connect_cables to add or replace cables, or modify_equipment with action 'remove' to delete a device and its cables.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "disconnect_cables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cable_ids | No | Specific cable_id values to disconnect (can be combined with instance_id; at least one of cable_ids or instance_id must be provided). | |
| instance_id | No | Mounted device or modular-carrier instance_id whose attached cables (including child sub-module cables) should all be disconnected. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Cable disconnection result payload. | |
| issues | Yes | Structured diagnostic findings (ERROR, WARNING, INFO) with actionable remediation_suggestions. | |
| status | Yes | Deterministic execution outcome: "VALID" when the operation succeeded with 0 validation errors; "INVALID" when precondition or engineering validation errors are present in issues[]. | |
| summary | Yes | Concise human- and agent-readable summary of the tool result and validation status. |