Dimensional Weight and Billable Weight
dimensional_weightWork out a parcel's dimensional (volumetric) weight and its billable weight. Send the box length, width and height in inches or centimetres, the dimensional divisor from your carrier rate sheet or contract (cubic inches per pound for inches, cubic centimetres per kilogram for cm; for example 139 or 166 for inches, 5000 or 6000 for cm), and the actual weight if you have it. Get back the measurements after the carrier-style rounding you choose, the cubic size, the dimensional weight before and after rounding, the actual weight after rounding, the billable weight (the greater of the two) and which one bills. Optional: a cubic-size threshold below which dimensional weight is not used (some services apply it only to larger parcels). Answer fields: ok, verdict, result, rule, does_not, sources, observation, signature, verify. Errors: ok false with the reason (bad input, too large, hourly limit). Free. No model, no network, nothing you send is stored by the tool, and every answer is signed with LLPRO's key (check it at https://llpro.ai/dimensional-weight). Labels are your own text: emails, web addresses and long digit runs are refused. Not legal, tax or financial advice.
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": "<length>",
"width": "<width>",
"height": "<height>",
"unit": "<unit>",
"divisor": "<divisor>"
},
"name": "dimensional_weight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | in (weights in pounds) or cm (weights in kilograms). | |
| label | No | Optional label for the parcel (your own text, echoed back; not a person). | |
| width | Yes | Box width, same unit. | |
| height | Yes | Box height, same unit. | |
| length | Yes | Box length (longest side), in the unit you choose, up to 2 decimals. | |
| divisor | Yes | Dimensional divisor from your carrier rate sheet or contract: cubic inches per pound when unit is in (for example 139 or 166), cubic centimetres per kilogram when unit is cm (for example 5000 or 6000). | |
| actual_weight | No | Optional: actual scale weight, in pounds for in or kilograms for cm. | |
| weight_rounding | No | How the dimensional and actual weights are rounded: up_to_whole (default; next whole pound or kilogram), up_to_half (next 0.5), or none. | up_to_whole |
| dimension_rounding | No | How each measurement is rounded before multiplying: nearest_whole (default; .5 rounds up), up_to_whole, or none. | nearest_whole |
| dim_applies_above_volume | No | Optional: dimensional weight is used only when the cubic size (after rounding the measurements) is ABOVE this, in cubic inches or cubic centimetres (for example 1728 = one cubic foot). |