chargeable_weight_calculator
Calculate air freight chargeable weight by comparing actual gross weight with volumetric weight (L×W×H÷factor) for the whole shipment. Use it to determine the billable weight airlines charge.
Instructions
Air freight chargeable weight — the greater of actual gross weight and volumetric weight, which is what airlines bill. The dimensions are per piece and gross_weight_kg is the TOTAL for all pieces; factor is the volumetric divisor (default 6000, the IATA standard; express integrators typically use 5000). Air only: sea W/M is consignment_calculator with mode=sea; volume alone is cbm_calculator; multi-line loads in any mode consignment_calculator; the equipment the freight flies in uld_lookup. Deterministic; totals are computed from unrounded figures and rounded only for display. Rate-limited: a limit error carries reset_at, the UTC time the allowance resets.
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_cm": "<length_cm>",
"width_cm": "<width_cm>",
"height_cm": "<height_cm>",
"gross_weight_kg": "<gross_weight_kg>"
},
"name": "chargeable_weight_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| factor | No | Volumetric divisor, cm³/kg. Default 6000. | |
| pieces | No | Number of identical pieces. Default 1. | |
| width_cm | Yes | Width of one piece, cm. | |
| height_cm | Yes | Height of one piece, cm. | |
| length_cm | Yes | Length of one piece, cm. | |
| gross_weight_kg | Yes | Gross weight of the WHOLE shipment (all pieces), kg. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| _meta | No | ||
| as_of | No | ||
| result | Yes | ||
| status | No | ||
| _source | Yes | ||
| edition | No | ||
| citation | Yes | ||
| validity | No | ||
| warnings | No | ||
| confidence | Yes | ||
| missing_inputs | No | ||
| blocking_errors | No | ||
| envelope_version | Yes | ||
| normalized_input | No |