Cartons per layer and per pallet (Ti × Hi)
calculate_ti_hiCartons per layer (Ti), layers per pallet (Hi) and cartons per pallet for one carton size, the load height and the total weight. Ti is the best of an all-one-way pattern, an all-turned pattern and two two-block mixes; the carton height stays vertical. All lengths are in unit (in or cm). Choose pallet from list_equipment ids (default 48x40) or give palletLength and palletWidth. overhang is how far the load may hang past each pallet edge (default 0). Give maxHeight (total load height, pallet included) with deckHeight (the empty pallet height) for Hi; without them only Ti is returned. Neither is assumed: the page offers sourced starting values. Give cartonWeight (and palletWeight) for the total weight. Capacity ratings for a 48 × 40 pallet appear only as a warning.
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": {
"length": "<length>",
"width": "<width>",
"height": "<height>"
},
"name": "calculate_ti_hi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Unit for every length | in |
| width | Yes | Carton width, in unit | |
| height | Yes | Carton height, in unit. This side stays vertical | |
| length | Yes | Carton length, in unit | |
| pallet | No | Pallet id. Ignored when palletLength and palletWidth are given | 48x40 |
| overhang | No | Overhang allowed past each pallet edge, in unit | |
| maxHeight | No | Greatest total load height, pallet included, in unit. Give with deckHeight | |
| deckHeight | No | Height of the empty pallet, in unit. Required with maxHeight | |
| weightUnit | No | lb | |
| palletWidth | No | Custom pallet width, in unit. Give with palletLength | |
| cartonWeight | No | Weight of one carton, in weightUnit | |
| palletLength | No | Custom pallet length, in unit. Give with palletWidth | |
| palletWeight | No | Weight of the empty pallet, in weightUnit |