calculate_delivery_zone_and_fee
Calculate standard delivery zone (inside_dhaka <=22km ৳80, sub_dhaka 22-45km ৳100, outside_dhaka >45km ৳150), road distance via Google Maps Platform Routes API, structured SLA hours ({min, max}), and applicable COD percentage for a single delivery destination using the unified tariff table (meta.source='static_tariff'). READ-ONLY ESTIMATION TOOL.
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": {
"recipient_address": "<recipient_address>"
},
"name": "calculate_delivery_zone_and_fee"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weight_kg | No | Parcel weight in KG (default: 0.5) | |
| origin_address | No | Optional merchant warehouse address (defaults to Dhaka Central Hub) | |
| recipient_address | Yes | Delivery destination address |