api_commerce_shipping_volume
Calculate dimensional volumetric weight and billable shipping weight in kg from dimensions, divisor and actual weight. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
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>",
"actual_weight_kg": "<actual_weight_kg>"
},
"name": "api_commerce_shipping_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width_cm | Yes | width cm; see operation description for units and format | |
| height_cm | Yes | height cm; see operation description for units and format | |
| length_cm | Yes | length cm; see operation description for units and format | |
| actual_weight_kg | Yes | actual weight kg; see operation description for units and format | |
| divisor_cm3_per_kg | No | divisor cm3 per kg; see operation description for units and format |