preview_basket
Calculate live Blyzenko basket totals and bonuses before checkout. Preview item costs and bonus write-offs without placing or modifying an order.
Instructions
Calculate live Blyzenko basket total and bonuses via POST /orders/calculate (read-only preview).
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": "preview_basket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| store_id | No | ||
| delivery_action | No | self | |
| bonuses_to_write_off | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |