Get cart
get_cartReturns the current lines, live prices, subtotal and checkout_url of a cart. No order is placed and no payment is taken here; checkout_url opens the checkout on shop.nevini.wine. It changes nothing; use it to show the cart again or to look up line_id for update_cart.
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": {
"cart_id": "<cart_id>"
},
"name": "get_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cart_id | Yes | cart_id exactly as returned by create_cart, including its ?key= part. | |
| language | No | Language of item names and of the checkout: "nl" (default) or "en". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| cart_id | Yes | ||
| currency | Yes | ||
| warnings | Yes | ||
| next_step | Yes | ||
| checkout_url | Yes | ||
| order_placed | Yes | ||
| subtotal_eur | Yes | ||
| shipping_note | Yes | ||
| total_quantity | Yes |