search
Search restaurants & products
Search Lezzoo for restaurants/stores near a location. Results are ranked by relevance and proximity, so location matters: pass the user's latitude/longitude when known. If location is unknown, the user's area/address can be used to derive it; otherwise a configured default location applies. Returns restaurants as cards (when the host supports MCP Apps). Use a returned merchant's `merchant_id` with `search_merchant_products` to open its menu. Anonymous — no sign-in or account is required. Read-only.
輸入參數citypagequery必填languagelatitudelongitudedepartmentId
search_merchant_products
Show a merchant's menu / products
Show the menu for a merchant/restaurant by merchant_id (from a `search` result). The result includes the menu's `categories` (sections); pass a `categoryId` to browse that section's items (paged via `page`, with `has_more`). Omit both to show the top items; provide `query` to search within the menu. Renders as cards with category tabs and Prev/Next when the host supports MCP Apps. Results are paginated — a single response is only part of the menu. To locate a specific item, call this with `query="<item name>"`, which searches the entire menu across pages and sections (more reliable than paging for finding a named item).
輸入參數citypagequerylanguagecategoryIdmerchantId必填
get_product_details
Show product details
Show full details for a single product/menu item by product_id (obtain it from a `search_merchant_products` result). Returns the image, description, price/discount, stock, and addon options (sizes, extras, toppings) with their prices — rendered as a card when the host supports MCP Apps. Call this when the user taps a product or asks about a specific item.
輸入參數languageproductId必填
get_top_searches
Get trending search terms
Return the platform's currently trending / most-searched terms. Useful for suggesting what users can look for. Takes no arguments.
無需輸入參數。
auth_status
Check sign-in status
Return whether the customer is signed in for this session, and who.
無需輸入參數。
Sign the customer out of this session (clears the stored token).
無需輸入參數。
get_profile
Get my Lezzoo profile
Return the signed-in customer's profile (name, phone, email, language, loyalty tier, total orders, member-since). Requires the customer to be signed in for this session. Read-only.
無需輸入參數。
get_addresses
Get my saved addresses
Return the signed-in customer's saved delivery addresses (title, details, type, coordinates). Requires the customer to be signed in for this session. Read-only.
無需輸入參數。
get_order_history
Get my orders
Return the signed-in customer's orders — `current` (in-progress) and `history` (past), each with merchant, status, total, item count and date. Requires the customer to be signed in for this session. Read-only.
無需輸入參數。
track_order
Track an order
Track a Lezzoo order live — status, ETA, driver name/status/location, merchant, destination, and the ordered items (name, description, quantity, price, chosen options, image) — rendered as a status card with a progress stepper (and a map when the driver's live position is available). Pass an order_id, or omit it to track the customer's most recent active order. Requires sign-in. Read-only. Call again to refresh.
輸入參數orderId
Show the current shopping cart (items, options, quantities, line prices, subtotal). Anonymous — no sign-in required. Read-only.
無需輸入參數。
Add one or more products to the cart in a single call (put a whole request's items in one call). For several of the SAME item use `quantity` (e.g. "2 Chili Boxes" → quantity: 2). For DIFFERENT products use `items` (an array of { productId, quantity?, optionValueIds? }), each with its own `quantity`. For a single product, pass `productId`/`quantity`/`optionValueIds` directly. product_id comes from search_merchant_products/get_product_details; optionValueIds are addon/size value ids from the product's options. One merchant per cart.
輸入參數itemslanguagequantityproductIdoptionValueIds
update_cart_item
Update cart item quantity
Set the quantity of a cart line by line_id (from view_cart). Quantity 0 removes it.
輸入參數lineId必填quantity必填
remove_cart_item
Remove a cart item
Remove a cart line by line_id (from view_cart).
輸入參數lineId必填
Remove all items from the cart.
無需輸入參數。
get_payment_methods
Get payment methods
List the available DIGITAL payment methods for checkout (e.g. Lezzoo Pay wallet, FIB, Card, Asia Pay, FastPay, Qi Card, NassWallet). Cash on delivery is NOT supported. Requires sign-in. Use this to map a payment method the user names to its payment_type_id.
無需輸入參數。
get_wallet_balance
Get wallet balance
Get the current Lezzoo Pay (wallet) balance for the signed-in customer. Requires sign-in.
無需輸入參數。
Prices the current cart for checkout (delivery, discount, fees, total) and renders an interactive widget in which the user selects their delivery address and payment method as tappable options — those details are chosen in the widget rather than in chat. Use when the user is ready to check out. Requires sign-in and a non-empty cart. Places no order.
輸入參數addressIdvoucherCodepaymentTypeId
Place the order from the current cart. Call review_order first so the customer can confirm the total. Set confirm:true to actually place the order — without it, this returns a preview only. Requires sign-in and a non-empty cart.
輸入參數confirm必填addressIdvoucherCodepaymentTypeId必填confirmActiveOrder
get_payment_link
Get payment link
Generate a payment link for a placed order. Use this if the payment link expired or was not returned at order placement. Requires sign-in.
輸入參數orderId必填