calculate_delivery
Calculates CDEK shipping cost and delivery time for a specific tariff using origin, destination, and package details.
Instructions
Рассчитать стоимость и сроки доставки по конкретному тарифу
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_location": "<from_location>",
"to_location": "<to_location>",
"packages": "<packages>"
},
"name": "calculate_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | Список упаковок | |
| tariff_code | Yes | Код тарифа СДЭК (например: 136 - посылка склад-склад, 137 - посылка склад-дверь) | |
| to_location | Yes | Адрес получения | |
| from_location | Yes | Адрес отправления |