cdek_calculate_tariff
Calculate delivery cost and transit time for a CDEK tariff using city names, weight, and dimensions.
Instructions
Расчет по коду тарифа (POST /v2/calculator/tariff).
Расчет стоимости и сроков доставки по конкретному тарифу с учетом весо-габаритных характеристик.
Args: tariff_code: CDEK tariff code (e.g. 136 warehouse-warehouse, 137 warehouse-door) from_city: Sender city name (e.g. "Москва") to_city: Recipient city name (e.g. "Новосибирск") weight_kg: Package weight in kg length: Package length in cm (default 10) width: Package width in cm (default 10) height: Package height in cm (default 10)
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": {
"tariff_code": "<tariff_code>",
"from_city": "<from_city>",
"to_city": "<to_city>",
"weight_kg": "<weight_kg>"
},
"name": "cdek_calculate_tariff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| length | No | ||
| to_city | Yes | ||
| from_city | Yes | ||
| weight_kg | Yes | ||
| tariff_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |