Calculate Shipping
calculate_shippingEstimate shipping costs for a product by entering its product ID, destination zone, and quantity. The tool uses weight and zone to calculate the total shipping expense.
Instructions
Estimate shipping cost for a product based on weight and destination zone.
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": {
"product_id": "<product_id>",
"zone": "<zone>"
},
"name": "calculate_shipping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | The shipping destination zone | |
| quantity | No | Number of units (affects total weight) | |
| product_id | Yes | The product ID to estimate shipping for (e.g. 'P003') |