Nova Poshta: Prepare a waybill card for an order
np_quoteNova Poshta: prepare the waybill (ТТН) card for ONE order WITHOUT creating it — recipient (name, phone), city and branch/parcel locker (from the shop order or the client's card), the advised box, weight, who pays, cash on delivery, NP's price and delivery date, and what is missing. Answers «скільки буде доставка для SO-17», «підготуй ТТН для SO-17». Returns draft_id for np_waybill_create. Edits the person names (another phone, branch, box, payer, COD) go in the arguments. Writes nothing to Nova Poshta.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "np_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | No | A box key from np_quote/np_box_suggest options (np:… or own:…), when the person picks one. | |
| payer | No | Who pays NP: Recipient (default from settings) or Sender (the shop). | |
| phone | No | Recipient phone, only when the person names it. | |
| number | No | The order number as said: SO-17, 17. | |
| order_id | No | The order id from erp_order_list. | |
| last_name | No | ||
| cod_amount | No | Cash on delivery in UAH; 0 = none. Only when the person says so. | |
| first_name | No | ||
| warehouse_ref | No | An NP branch ref from np_branches, only when the person picks another branch. |