{"ok":true,"site":{"host":"fashion-starter.agilo.com","url":"https://fashion-starter.agilo.com/hr","type":"live","desc":"A performant frontend ecommerce starter template with Next.js 14 and Medusa.","tools":[{"name":"products.search","kind":"answer","impl":"imperative","description":"Search and retrieve product information (price, variants, options, categories, tags) with optional filters and sorting.","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query. Can be omitted to fetch products by filters only."},"collection_ids":{"type":"array","items":{"type":"string"}},"category_ids":{"type":"array","items":{"type":"string"}},"type_ids":{"type":"array","items":{"type":"string"}},"sort":{"type":"string","enum":["latest_arrivals","lowest_price","highest_price"]},"limit":{"type":"number","minimum":1,"maximum":36}},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"navigation.toProduct","kind":"act","impl":"imperative","description":"Navigate to product detail page, optionally preselect options. For products with Material and Color, Material must be set before Color.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"Product handle/slug"},"options":{"type":"object","description":"Optional option map like { Material: 'Cotton', Size: 'M' }. If providing Color, also provide Material.","additionalProperties":{"type":"string"}}},"required":["handle"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"navigation.toCart","kind":"act","impl":"imperative","description":"Navigate to shopping cart page","annotations":{"readOnlyHint":false},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"cart.manage","kind":"act","impl":"imperative","description":"Manage shopping cart (add, remove, update, view)","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"action":{"type":"string","enum":["add","remove","update","view"],"description":"Action to perform"},"variant_id":{"type":"string","description":"Variant ID (required for add)"},"quantity":{"type":"number","description":"Quantity for the action. Optional for add (defaults to 1), required for update."},"line_id":{"type":"string","description":"Line item ID (required for remove/update)"}},"required":["action"],"oneOf":[{"properties":{"action":{"const":"add"},"variant_id":{"type":"string"}},"required":["action","variant_id"]},{"properties":{"action":{"const":"remove"},"line_id":{"type":"string"}},"required":["action","line_id"]},{"properties":{"action":{"const":"update"},"line_id":{"type":"string"},"quantity":{"type":"number","minimum":0}},"required":["action","line_id","quantity"]},{"properties":{"action":{"const":"view"}},"required":["action"]}],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"cart.applyPromotion","kind":"act","impl":"imperative","description":"Apply a discount/promotion code to the shopping cart. Returns updated cart with applied discount, including new subtotal, total, and discount amount. Common error codes: MISSING_CODE (promotion code is required), CART_MISSING (no active cart found), APPLY_FAILED (failed to apply promotion code).","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"Promotion/discount code to apply (e.g., 'SUMMER25', 'FREESHIP')"}},"additionalProperties":false,"required":["code"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"cart.removePromotion","kind":"act","impl":"imperative","description":"Remove a previously applied discount/promotion code from the shopping cart. Returns updated cart with recalculated totals after discount removal. Use this when the user wants to replace a code or remove an applied discount.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"Promotion/discount code to remove (must match an applied code)"}},"additionalProperties":false,"required":["code"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]},{"name":"checkout.prepare","kind":"act","impl":"imperative","description":"Validate that the shopping cart has items and navigate to the checkout page. Performs pre-checkout validation (checks cart exists and is not empty) before proceeding. Returns error if cart is missing or empty.","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{},"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/hr","pages":["/hr","/hr/inspiration","/hr/store","/hr/auth/login","/hr/store?type=Sofas","/hr/store?type=Arm%20Chairs"]}],"category":"Commerce","favicon":"/favicons/fashion-starter.agilo.com.png","apiSurface":"spec","toolCount":7}}