tariff_quote
Calculates merchant shipping tariffs using packet weight, shipment type, origin and destination city IDs, and COD amount; set COD to zero for prepaid shipments.
Instructions
Get merchant tariff using weight, shipment type ID, city IDs and COD amount (zero if prepaid). Verify tariff weight unit with carrier.
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": {
"packet_weight": "<packet_weight>",
"shipment_type": "<shipment_type>",
"origin_city": "<origin_city>",
"destination_city": "<destination_city>",
"cod_amount": "<cod_amount>"
},
"name": "tariff_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cod_amount | Yes | ||
| origin_city | Yes | ||
| packet_weight | Yes | ||
| shipment_type | Yes | ||
| destination_city | Yes |