search_products
Search for products by keyword. Returns matching products with titles, descriptions, prices, and images. Use this to find specific products or browse by category.
get_product
Get detailed information about a specific product by its handle (URL slug) or ID. Returns full product details including all variants, images, and availability.
list_collections
List all product collections/categories in the store. Returns collection names, descriptions, and handles for navigation.
get_collection_products
Get all products within a specific collection. Use the collection handle to retrieve products organized by category.
filter_products
Filter products by various criteria including vendor/brand, product type, price range, and availability. Useful for narrowing down product selection.
create_cart
Create a new shopping cart, optionally with initial items. Returns the cart ID needed for subsequent operations.
get_cart
Get the current contents and total of a shopping cart.
add_to_cart
Add a product variant to an existing cart. Use the variant ID from product details.
update_cart
Update quantities of items already in the cart. Set quantity to 0 to remove an item.
remove_from_cart
Remove one or more items from the cart by their line IDs.
update_buyer_info
Add or update buyer information (email, phone, country) on the cart for checkout.
get_checkout_url
Get the Shopify checkout URL. The user must be redirected to this URL to complete payment. This requires human escalation as the AI cannot complete payment.