make_cart
Groups selected offers by store into a single order, prices each line in whole packs at the last seen price, and returns a cart link or product pages for checkout.
Instructions
Chosen offers grouped into one order a store: lines [{"offer": an offer id from get_offers, "quantity"}]. Each store's lines priced in whole packs at the price last seen, and handed over as one cart link where the store takes one, else its product pages.
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": {
"lines": "<lines>"
},
"name": "make_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes |