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_bti_result
ChatGPTRetrieve the user's saved BTI (Brand Taste Identity) quiz result — their snack persona / taste match. Use when the user asks "what's my result", "show my persona", "my snack type", "我的测评结果", "我的零食人格", "what is my taste match", or wants to review their previously completed BTI quiz result. Do not use this for starting/retaking the quiz (use start_bti_quiz) or submitting answers (use submit_bti_answers). If no result is found, suggest the user take the quiz first by saying "find my taste match". When presenting the result, share the persona name, traits, and recommended starter pack products.
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.
link_yami_account
ChatGPTLink or check the user's Yami account binding status. Use when the user says "login", "sign in", "link account", "connect my Yami account", "link my account", "登录", "绑定账号", "连接账号", or when another tool (add_to_cart/view_cart) returns requires_bindaccont=true. Also use when the user confirms they have completed the linking process to verify the status. Do not use this for product search, BTI quiz, or cart operations. If status="linked", inform the user their account is connected and they can now use cart features. If status="not_linked", show the bind_url and guide the user to open it to link their account.
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.
start_bti_quiz
ChatGPTStart or restart the Brand Taste Identity (BTI) quiz — the Yami taste match / snack persona quiz. Use when the user says "find my taste match", "find your taste match", "find my flavor match", "taste match", "taste quiz", "YBTI quiz", "taste passport", "what snack type am I", "snack personality", "测试我的口味", "零食性格", or pastes the Yami launch prompt "@Access Yami Find my taste match". Do not use this for product search or recommendations — use search_products or get_trending_products instead. IMPORTANT: if the user asks to retake, redo, restart, or take the quiz "again" / "重新做", you MUST pass restart=true, otherwise the previously saved result is returned instead of new questions.
submit_bti_answers
ChatGPTSubmit BTI (taste match) quiz answers and get the user's snack persona result. Use ONLY after start_bti_quiz has returned the quiz questions and the user has answered all 6 questions (Q1-Q6, each A-D). Do not use this for starting the quiz (use start_bti_quiz), viewing saved results (use get_bti_result), or product search. IMPORTANT: Collect all 6 answers from the user before calling this tool. Optionally include food avoidances if the user mentioned dietary restrictions. After receiving the result, present the persona name, description, and starter pack recommendations enthusiastically.
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 "购物车".