about
ChatGPTIntroduce Yami and what this app can do. Use when the user asks "what can you do", "what is Yami", "help", "how does this work", "tell me about yourself", "你能做什么", "这是什么应用", or any question about the app's capabilities. IMPORTANT: When mentioning prices, always use the currency_symbol from product data (e.g. $). Never assume a currency symbol.
add_to_cart
ChatGPTAdd products to the shopping cart. Use when the user says "add to cart", "I want this", "buy this", "get me one", "加购", or expresses intent to purchase a product.
checkout
ChatGPTGenerate a checkout link to complete the purchase on Yami website. Use when the user says "checkout", "buy now", "place order", "pay", "ready to buy", "结算", "下单", or "付款".
clear_cart
ChatGPTRemove all items from the cart, or remove all except specified items. Use when user says "clear cart", "empty cart", "only keep X", or "remove everything except X".
decrease_cart_item
ChatGPTDecrease quantity of a product in cart by 1, removes it if quantity reaches 0. Use when the user says "one less", "reduce quantity", "I want fewer", or "少要一个".
get_brands
ChatGPTGet available brands for a product search. Use when the user asks "what brands do you carry", "do you have [brand]", wants to filter results by brand, or asks about specific brand availability.
get_categories
ChatGPTGet the full Yami product category tree. Use this when the user asks "what does Yami sell", "what categories do you have", "show me all departments", "what can I buy here", or wants to browse by category instead of searching by keyword.
get_product_detail
ChatGPTGet detailed info about a specific product — price, images, description, ingredients, stock status, and selling points. Use when the user asks "tell me more about this", "is this in stock", "what are the ingredients", or clicks on a product for details.
get_recommendations
ChatGPTGet product recommendations related to a specific item. Use when the user asks "anything similar", "what goes well with this", "show me more like this", "what else do people buy", or wants pairing/complementary suggestions.
get_trending_products
ChatGPTGet best-selling and trending products on Yami. Use when the user asks "what's popular", "best sellers", "recommend something", "what should I buy", "trending", or any open-ended discovery request without a specific product in mind. Returns products ranked by real sales data.
remove_from_cart
ChatGPTRemove a product from the shopping cart entirely. Use when the user says "remove this", "I don't want this anymore", "delete from cart", "take it out", or "不要了".
report_missing_capability
ChatGPTLog a report when the user asks for something that none of the available tools can accomplish. This records the gap internally to help us add new features. Does not affect the user's cart or any other data.
search_products
ChatGPTSearch for products on Yami — the largest Asian grocery & lifestyle store in North America. Covers snacks, instant food, beverages, beauty & skincare, health supplements, home & kitchen, electronics, and more. Use this when the user wants to find, browse, or discover products, asks "what do you have", "recommend something", "any good snacks", or mentions any product name, category, or brand. Each product includes a currency_symbol field — always use it when mentioning prices.
view_cart
ChatGPTShow the current shopping cart with items, quantities, and total price. Use when the user asks "what's in my cart", "show my cart", "how much is my order", "what did I add", or "购物车".