Auto-Optimize Rack Equipment Layout Deterministically
optimize_rackOptimizes top-level rackmount U positions and rear PDU face assignments to eliminate chassis and plug-clearance collisions, lower center of gravity, preserve cable portals, and shorten cable routing.
Instructions
Deterministically optimize top-level rackmount equipment U positions and rear PDU face assignments to eliminate chassis or plug-clearance collisions, lower the vertical Center of Gravity below 0.50, preserve mid-height front-to-rear cable portals, and minimize 3D cable arc lengths. Evaluates candidate zoned and locally refined layouts against the full 3D geometry, 5-stage validation, and Catmull-Rom routing engines while keeping carrier sub-modules inside their parent bays, keeping existing cables and external endpoints intact, and locking any devices or parent carriers named in 'pin_instance_ids'. Only commits a strictly improving, non-regressing layout to rack.yaml and pushes an undo snapshot when at least one device moves, making repeated calls safely idempotent. Use when a rack has collisions, top-heavy warnings, or unclustered patch cabling; use modify_equipment instead to move a single device to an explicit U slot.
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": "optimize_rack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pin_instance_ids | No | Optional list of mounted device or child sub-module instance_id values whose current U position and rack face must remain locked during optimization. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Deterministic rack auto-optimization 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. |