Add a carton
carton_addAdd a carton to a packing list and return its C01-style id: a label, the empty weight in WHOLE GRAMS, and optionally length, width and height in WHOLE CENTIMETRES. Dimensions are what make a chargeable weight possible.
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": {
"packing_list": "<packing_list>",
"label": "<label>",
"tare_grams": "<tare_grams>"
},
"name": "carton_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| label | Yes | What is written on the box, e.g. Box 1 of 3 or Pallet A | |
| width_cm | No | Outer width in whole centimetres | |
| height_cm | No | Outer height in whole centimetres | |
| length_cm | No | Outer length in whole centimetres. All three dimensions or none | |
| tare_grams | Yes | The EMPTY carton with its packaging, in whole grams. 0 when it is not known | |
| packing_list | Yes | The packing list id, e.g. PL-2026-0001, or the order reference when only one list carries it |