{"ok":true,"site":{"host":"a-ok.ai","url":"https://a-ok.ai/","type":"live","desc":"Apes On Keys - Nerd Streetwear (for real)","tools":[{"name":"search_products","kind":"answer","impl":"imperative","description":"Search A-OK's tees and hoodies. Matches words in the name, description, category or colors. Leave query empty to list everything. Returns handles to use with get_product and add_to_cart.","title":"Search the shop","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Words to look for, e.g. 'hallucination' or 'navy'."},"category":{"type":"string","enum":["all","tees","hoodies","hats"],"description":"Limit to one category."},"limit":{"type":"integer","minimum":1,"maximum":50,"description":"Most results to return (default 10)."}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"get_product","kind":"answer","impl":"imperative","description":"Full details for one product: description, price, the colors and sizes it's sold in, and a photo for each color.","title":"Product details","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"The product's handle from search_products."}},"required":["handle"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"add_to_cart","kind":"act","impl":"imperative","description":"Add a product to the shopper's cart in a chosen color and size. Color and size must be ones the product is sold in (see get_product); for tees and hoodies a size is required, so ask the shopper rather than guessing.","title":"Add to cart","inputSchema":{"type":"object","properties":{"handle":{"type":"string","description":"The product's handle."},"color":{"type":"string","description":"One of the product's colors. Optional when it has only one."},"size":{"type":"string","description":"One of XS, S, M, L, XL, 2XL for tees and hoodies."},"quantity":{"type":"integer","minimum":1,"maximum":20,"description":"How many (default 1)."}},"required":["handle"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"view_cart","kind":"act","impl":"imperative","description":"What's in the shopper's cart: each line with its line_id, color, size, quantity and price, plus the subtotal.","title":"View cart","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"update_cart_item","kind":"act","impl":"imperative","description":"Change the quantity of one cart line (use its line_id from view_cart). Quantity 0 removes it.","title":"Change cart quantity","inputSchema":{"type":"object","properties":{"line_id":{"type":"string","description":"The line_id from view_cart."},"quantity":{"type":"integer","minimum":0,"maximum":20}},"required":["line_id","quantity"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"begin_checkout","kind":"act","impl":"imperative","description":"Take the shopper to secure checkout (Stripe) for everything in the cart. The shopper enters shipping and payment there themselves; nothing is charged by this tool. Confirm the cart with the shopper first.","title":"Go to checkout","annotations":{"consequentialHint":true},"inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"list_chaos_monkeys","kind":"answer","impl":"imperative","description":"The latest Chaos Monkeys: new ape artworks that customers can ask us to print on a tee. Shows request counts once a monkey has 5 or more, and whether this shopper already asked.","title":"Chaos Monkeys","annotations":{"readOnlyHint":true},"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":50,"description":"How many, newest first (default 6)."}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"request_print","kind":"act","impl":"imperative","description":"Ask A-OK to print a Chaos Monkey on a tee, on the shopper's behalf, or take that request back. One request per shopper per monkey.","title":"Ask to print a Chaos Monkey","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The monkey's id from list_chaos_monkeys, e.g. '0005'."},"want":{"type":"boolean","description":"true to ask (default), false to take the request back."}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]},{"name":"open_page","kind":"act","impl":"imperative","description":"Show the shopper a page of the shop: the home page, the shop, tees, hoodies, Chaos Monkeys, the game, a product (with handle), or the cart.","title":"Open a page","inputSchema":{"type":"object","properties":{"page":{"type":"string","enum":["home","shop","tees","hoodies","chaos-monkeys","game","product","cart"]},"handle":{"type":"string","description":"The product's handle, when page is 'product'."}},"required":["page"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/","pages":["/","/chaos-monkeys","/products","/game","/gallery","/products/a-ok-mechanical-tee"]}],"category":"Commerce","favicon":"/favicons/a-ok.ai.png","apiSurface":"spec","toolCount":9}}