add-to-cart
ChatGPTThis tool adds one exact Maple & Marker product variant to this chat's dedicated cart. Use it only after the user has chosen the specific variant they want and agrees to add it.
buy-now
ChatGPTThis tool adds one exact Maple & Marker product variant to this chat's dedicated cart and immediately displays the order summary view so the user can purchase it now. The rendered view is the single source of truth for the order's items and total — do not restate, summarize, or narrate the items, prices, or total in text.
forward-user-request
ChatGPTThis tool forwards the user's request or question (for example, about their order) to the Maple & Marker admin email. Use it when the user needs help from human support. Include orderId when the user explicitly gave their order number, or when the request clearly refers to the same order that was just opened with get-order-details. If the order cannot be identified unambiguously, ask the user for the order number instead of guessing.
get-app-info
ChatGPTThis tool shows the app welcome message with its key features. Use it when the user is new, asks what the app can do, or needs help getting started.
get-custom-image-details
ChatGPTThis tool calculates the custom image data like sizes, recommended sizes, form groups, available variants to order, and downloadUrl for preview reuse. Use it when the user uploaded their own picture, generated a custom one, or picked from the library (NOT picked from the Maple & Marker catalog), and asks for a printed copy, size recommendation, available print formats, or pricing for that image. Pass the attached image as the image parameter. After using it, ask which main print form the user is interested in, such as framed print, foam print, canvas print, paper print, acrylic glass, fine art, or aluminum metal, and what size they want. Once the user has chosen one exact print form and one exact size for the custom image, call select-variant, then prepare-custom-image. After preparation succeeds, call show-variant-actions. Use downloadUrl from this tool result when preparing the image wall preview. Do not display all variants. Do not enumerate all sizes unless the user explicitly asks. Offer a short shortlist using the recommendedSizes returned by the tool. Let the user choose the exact size.
get-image-wall-preview
ChatGPTThis tool displays the selected image wall preview. Use it after get-custom-image-details tool call for a custom image, or after show-variant-actions for an exact Maple & Marker catalog variant, when the user has already selected one exact size and one exact print form AND explicitly agreed to see the wall preview. Reuse the current server-side selection state.
get-my-orders
ChatGPTThis tool gets the authenticated user's orders list and displays it in a view. Use it when the user asks to see their orders.
get-order-details
ChatGPTThis tool gets the details for one specific order that belongs to the authenticated user and displays them in a view. Use it when the user asks to see one specific order in detail.
get-order-summary
ChatGPTThis tool prepares a Maple & Marker order summary from the exact products already saved in this chat cart and displays it in a view with a checkout button. Never write a checkout link yourself. If this chat has no cart yet, it creates an empty private cart. Use it when the user wants to place an order or see the cart. Do not use it before get-product-details for catalog items or before get-custom-image-details for user-provided images. The rendered view is the single source of truth for the order's items and total — do not restate, summarize, or narrate the items, prices, or total in text.
get-product-details
ChatGPTThis tool gets product details for a Maple & Marker catalog item the user has already picked from prior catalog results, and render a product detail view instead of replying with a plain text summary.
pick-image-from-library
ChatGPTThis tool opens a view that lets the user choose an image from their ChatGPT library for further processing and order creation.
prepare-custom-image
ChatGPTThis tool prepares the selected custom image so it can be added to cart and purchased.
remove-from-cart
ChatGPTThis tool removes one exact Maple & Marker product variant from this chat's dedicated cart when the user no longer wants it.
search-products
ChatGPTThis tool searches for products and display the results in a visual view.
select-variant
ChatGPTThis tool updates the current chat selection with one exact form and one exact size. Use it after product details or custom image details are already loaded. For catalog items it resolves the exact variant ID in server-side session state. For custom images it saves the exact form and size so the prepare step can create and store the purchasable variant ID in the same state.
show-variant-actions
ChatGPTThis tool displays 3 navigation buttons for one exact Maple & Marker variant the user already selected: see a wall preview, add it to the cart, or buy it now.
update-cart-quantity
ChatGPTThis tool changes the quantity of one exact Maple & Marker product variant already saved in this chat's dedicated cart.