Estimate Nova Poshta delivery
np_estimate_deliveryCalculates the Nova Poshta delivery price (including the cash-on-delivery fee) and the estimated delivery date between two cities for a parcel of the given weight and declared value.
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": {
"city_to": "<city_to>",
"weight_kg": "<weight_kg>",
"declared_value": "<declared_value>"
},
"name": "np_estimate_delivery"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_to | Yes | Destination city Ref or name | |
| city_from | No | Origin city Ref or name; default: the sender city from settings | |
| ship_date | No | Shipping date YYYY-MM-DD; default today | |
| weight_kg | Yes | Parcel weight, kg | |
| cod_amount | No | Cash-on-delivery amount, UAH | |
| to_postomat | No | Delivery to a parcel locker | |
| connection_id | No | Nova Poshta connection id from list_connections; default: the main one | |
| declared_value | Yes | Declared value, UAH |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | No | ||
| total | Yes | ||
| city_to | Yes | ||
| cod_fee | No | ||
| city_from | Yes | ||
| weight_kg | Yes | ||
| cod_amount | No | ||
| service_type | Yes | ||
| delivery_cost | Yes | ||
| delivery_date | No | ||
| declared_value | Yes |