arrange_devices
Lays out devices inside a room, building, rack, or table, moving them from other locations and placing them in a grid or at exact percentage spots.
Instructions
Lay devices out inside a room, building, rack or table of the physical workspace, moving in the ones that are somewhere else. Positions are percentages of the room, which is how Packet Tracer draws them: leave them out for an even grid, set columns and margin_percent to shape it, or give exact spots like [[20, 30], [60, 30]].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spots | No | Exact spots instead of a grid, as percentages of the room: `[[20, 30], [60, 30]]`, one per device. | |
| columns | No | How many per row. Defaults to the squarish grid that fits them. | |
| devices | No | Devices to place, in order. Omit to arrange everything already in that location. | |
| location | Yes | Path of the room, building, rack or table to tidy up, as listed by `list_locations`. | |
| margin_percent | No | Free space left around the grid, as a percentage of the room. Defaults to 12. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The temporary copy Packet Tracer has open when the moves went through the network file, which is what furniture needs; save with `save_network` to keep it. | |
| devices | Yes | ||
| location | Yes |