Prepare an order
create_checkoutPrepare a whole order for the person: items, contact, address and delivery. Returns the priced order (items, delivery, total in CZK with VAT), what is still missing, and continue_url, which opens the kaviardum.cz checkout with everything filled in; they check it, accept the terms and pay there (card, Apple Pay, Google Pay or bank transfer). Nothing is ordered or charged before the person confirms. Fields you leave out the person fills in on the page. The link is valid 24 hours. The delivery method and window are the codes delivery_options lists.
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": {
"items": "<items>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of names and descriptions: cs (Czech), en, ru, uk, vi. | cs |
| note | No | A note for the shop from the person. | |
| buyer | No | The person the order is for, as they told you. Leave out what you do not know. | |
| items | Yes | ||
| address | No | Delivery address in the Czech Republic (not needed for pickup). | |
| payment | No | Optional preselection; the person can change it. comgate = card, Apple Pay, Google Pay. cash only on pickup. | |
| delivery | No | A method code from delivery_options; for the Prague courier also a window key from its windows; for pickup the pickup point name. |