Add Products to Cart
add_products_to_cartFull Description
Use this tool to add products to an existing cart for a selected PC Express store. Use it when a user wants to add products, ingredients, brands, or other grocery items to their cart. A valid cart_id and store_id are required and should be retrieved from the conversation context. The tool adds the requested items to the user's cart.
Parameters (2 required, 1 optional)
cart_idstringCart id for the current store from conversation context.
store_idstringStore ID
itemsobjectMap of product identifier to quantity (each ≥ 1).
null