{"ok":true,"site":{"host":"cairnai.netlify.app","url":"https://cairnai.netlify.app/","type":"live","desc":"A specialty coffee gear shop where you and your agent build the cart together.","tools":[{"name":"search_products","kind":"answer","impl":"imperative","description":"Search Cairn's product catalog by keyword. Matches against name, description, category, and tags.","title":"Search the catalog","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Free-text search term, e.g. 'grinder' or 'pour-over'."}},"required":["query"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"filter_products","kind":"act","impl":"imperative","description":"Filter products by category, price range, and/or stock availability. All fields optional.","title":"Filter the catalog","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"category":{"type":"string","description":"One of: grinders, kettles, filters, scales, beans"},"minPrice":{"type":"number","description":"Minimum price in USD."},"maxPrice":{"type":"number","description":"Maximum price in USD."},"inStockOnly":{"type":"boolean","description":"If true, only return items currently in stock."}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_product_details","kind":"answer","impl":"imperative","description":"Get full details for a single product by its id.","title":"Get product details","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"The product id, e.g. 'grind-01'."}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"add_to_cart","kind":"act","impl":"imperative","description":"Add a product to the shared cart. This updates the same cart the human sees on screen.","title":"Add an item to the cart","annotations":{"readOnlyHint":false,"destructiveHint":false},"inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"The product id to add."},"quantity":{"type":"integer","minimum":1,"description":"How many to add. Defaults to 1."}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"update_cart_quantity","kind":"act","impl":"imperative","description":"Set the quantity of a product already in the cart. Setting quantity to 0 removes it.","title":"Change item quantity in cart","annotations":{"readOnlyHint":false,"destructiveHint":false},"inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"The product id to update."},"quantity":{"type":"integer","minimum":0,"description":"New quantity."}},"required":["productId","quantity"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"remove_from_cart","kind":"act","impl":"imperative","description":"Remove a product entirely from the cart.","title":"Remove an item from the cart","annotations":{"readOnlyHint":false,"destructiveHint":true},"inputSchema":{"type":"object","properties":{"productId":{"type":"string","description":"The product id to remove."}},"required":["productId"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"apply_coupon","kind":"act","impl":"imperative","description":"Apply a discount coupon code to the cart. Returns an error if the code is invalid or the cart doesn't meet its minimum.","title":"Apply a coupon code","annotations":{"readOnlyHint":false,"destructiveHint":false},"inputSchema":{"type":"object","properties":{"code":{"type":"string","description":"Coupon code, e.g. 'PEBBLE10'."}},"required":["code"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_cart_summary","kind":"answer","impl":"imperative","description":"Read-only: returns the current cart contents, subtotal, discount, and total. Cannot modify or complete the order.","title":"Read the current cart","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Commerce","favicon":"/favicons/cairnai.netlify.app.ico","apiSurface":"spec","toolCount":8}}