Move, Rename, or Remove Mounted Equipment
modify_equipmentMove, rename, or destructively remove an existing mounted device or child sub-module in the active rack, recalculate 3D cable splines, and re-run 5-stage validation. 'instance_id' resolves across top-level devices and carrier sub-modules, and required fields depend on 'action': 'move' updates 'u_position' and 'face' on rackmount gear or 'slot_id' and optional 'parent_carrier_id' across carriers for sub-modules with primary fields taking precedence over 'new_*' aliases, 'rename' updates or clears 'hostname', and 'remove' cascades to child sub-modules plus attached cables and external endpoints when 'remove_connected_cables' is true. Pushes the prior state onto the undo stack and updates rack.yaml atomically, or returns status 'INVALID' without mutating state when 'instance_id' or a target carrier is unknown. Use to update or delete a mounted instance; use mount_equipment to add new hardware, or disconnect_cables to remove cables while keeping devices mounted.
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": {
"instance_id": "<instance_id>",
"action": "<action>"
},
"name": "modify_equipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| face | No | New mounting face ("front" or "rear") when action is "move" on a rackmount device (takes precedence over new_face). | |
| action | Yes | Modification operation: "move" relocates a device, "rename" updates its hostname, and "remove" deletes the device instance. | |
| slot_id | No | Target slot_id inside parent_carrier_id when action is "move" on a child sub-module. | |
| hostname | No | New logical hostname when action is "rename" (takes precedence over new_hostname). | |
| new_face | No | Optional alias for face when action is "move". | |
| u_position | No | New 1-indexed U position when action is "move" on a direct rackmount device (takes precedence over new_u_position). | |
| instance_id | Yes | Existing mounted device or child sub-module instance_id to modify. | |
| new_hostname | No | Optional alias for hostname when action is "rename". | |
| new_u_position | No | Optional alias for u_position when action is "move". | |
| parent_carrier_id | No | Target parent carrier instance_id when action is "move" on a child sub-module. | |
| remove_connected_cables | No | When action is "remove", whether to automatically disconnect all cables and external endpoints attached to the removed device (default: true). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Equipment modification 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. |