pallet_fitting_calculator
Calculate how many identical boxes fit on one pallet: boxes per layer, layers within height, total units, footprint and volume utilisation, with rotation and payload limits.
Instructions
How many identical boxes fit on one pallet: boxes per layer (trying 90-degree rotation when allowed), layers within the max height, totals, footprint and volume utilisation (volume_utilisation_percent), capped in whole layers by max_payload_kg. One box size in aligned rows — no interlocked or mixed patterns. For pallets into trailer length use ldm_calculator; pallet capacity per vehicle vehicle_lookup; pallets into containers container_lookup. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets. A theoretical best-effort fit — carton strength, overhang and load stability are not modelled.
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": {
"pallet_length_cm": "<pallet_length_cm>",
"pallet_width_cm": "<pallet_width_cm>",
"pallet_max_height_cm": "<pallet_max_height_cm>",
"box_length_cm": "<box_length_cm>",
"box_width_cm": "<box_width_cm>",
"box_height_cm": "<box_height_cm>"
},
"name": "pallet_fitting_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box_width_cm | Yes | Box width in cm. | |
| box_height_cm | Yes | Box height in cm. | |
| box_length_cm | Yes | Box length in cm. | |
| box_weight_kg | No | Weight per box in kg — enables the weight-capping check. | |
| allow_rotation | No | Try 90-degree box rotation for the best layer fit. Default: true. | |
| max_payload_kg | No | Maximum pallet payload in kg. Example: 1000. | |
| pallet_width_cm | Yes | Pallet width, cm. | |
| pallet_length_cm | Yes | Pallet length, cm. | |
| pallet_max_height_cm | Yes | Maximum stack height in cm INCLUDING the pallet deck. | |
| pallet_deck_height_cm | No | Pallet deck height in cm. Default: 15. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| _meta | No | ||
| as_of | No | ||
| result | Yes | ||
| status | No | ||
| _source | Yes | ||
| edition | No | ||
| citation | Yes | ||
| validity | No | ||
| warnings | No | ||
| confidence | Yes | ||
| missing_inputs | No | ||
| blocking_errors | No | ||
| envelope_version | Yes | ||
| normalized_input | No |