set_cart_quantities
Set absolute quantities in one store's cart; use 0 to remove products. Returns a cart URL to review and pay—it never orders or pays.
Instructions
Set ABSOLUTE quantities in one store's cart (0 removes the product). Never orders or pays. Product ids come from search_products, compare_basket or list_offers. Returns a result per product and the new cart with its url: give the human that link to check and pay. REMA 1000: sets the shopping list "handle-mcp", never another list.
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": {
"store": "<store>",
"items": "<items>"
},
"name": "set_cart_quantities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Product id → absolute count, e.g. {"5012345": 2, "5098765": 0}. | |
| store | Yes | One store: "nemlig", "bilkatogo" or "rema1000". |