Weigh the cartons
carton_reportPer carton and for the shipment: tare, net, gross, volume, volumetric weight and the chargeable weight, the greater of gross and volumetric. A carton with no dimensions makes the chargeable total null, never a guess.
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>"
},
"name": "carton_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| divisor | No | Volumetric divisor in cm3 per kg: 5000 courier air (default), 6000 IATA air, 4000 some road tariffs | |
| packing_list | Yes | The packing list id, e.g. PL-2026-0001, or the order reference when only one list carries it |