carton-fit
Pack items into the smallest fitting carton (bounded heuristic) — Checks whether up to 50 box-shaped items (axis-aligned, 90-degree rotations, optional this-side-up lock, optional weights) fit into any of up to 20 candidate cartons, and recommends the smallest-volume carton for which a packing was found, with coordinates for every item. For shipping and fulfilment agents sizing a parcel. The packing is a greedy extreme-point HEURISTIC with a fixed step cap, not
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": {
"items": "<items>",
"boxes": "<boxes>"
},
"name": "carton-fit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| boxes | Yes | At most 20. Use inner dimensions. | |
| items | Yes | At most 50 item lines and 50 units in total (sum of qty). |