How Many Pallets Fit
how_many_pallets_fitHow many pallets fit in a given shipping container, truck trailer, rail wagon or air ULD. Use this whenever someone asks how many pallets (Euro 1200x800, standard 1200x1000, or US GMA 48x40) fit in a 20ft, 40ft, 40ft High Cube, 45ft, 53ft trailer or any other vessel. Returns the best single-layer floor count with pallets turned to their best orientation — a solved pallet-loading result, not length divided by length, so a 20ft holds 11 Euro pallets and a 40ft holds 25 — plus the double-stacked count with the load height that allows it, and how many the payload allows, which is what decides whether weight or floor space runs out first.
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": {
"vessel": "<vessel>"
},
"name": "how_many_pallets_fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vessel | Yes | The container, trailer, rail wagon or air ULD to load. Accepts a slug ("40ft-high-cube-container") or a plain name ("40HC", "40' high cube", "53ft trailer"). Call get_container_dimensions with no arguments for the full catalog. | |
| palletType | No | Which pallet: 'euro' (1200x800mm), 'standard' (1200x1000mm), 'gma' (US 48x40in), or 'all' for every size. | all |
| grossWeightKgPerPallet | No | Gross weight of one LOADED pallet, kg. Only affects the payload-limited count, which is what decides whether weight or floor space binds first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fits | Yes | ||
| note | Yes | ||
| vessel | Yes | ||
| referenceUrl | Yes | ||
| assumedGrossKgPerPallet | Yes |