Add Chosen Groceries
add_shortlist_to_cartAdd approved shortlist items to the shopping cart with specified quantities. Stops on first failure to prevent duplicates; check the cart before retrying.
Instructions
Add user-approved choices with explicit quantities. One-use shortlist prevents duplicate retries. Stops on first failure; read get_cart before retrying. Inspect get_product and discuss multi-buy promotions before choosing quantities. No order is placed.
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": {
"shortlist_id": "<shortlist_id>",
"selections": "<selections>",
"confirm": "<confirm>"
},
"name": "add_shortlist_to_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| selections | Yes | ||
| shortlist_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||