gradeNot graded
page: Every page
search_productsAnswer
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.
View tool JSON
{
"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.",
"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)."
}
}
},
"page": "/"
}get_productAnswer
Full details for one product: description, price, the colors and sizes it's sold in, and a photo for each color.
View tool JSON
{
"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.",
"inputSchema": {
"type": "object",
"properties": {
"handle": {
"type": "string",
"description": "The product's handle from search_products."
}
},
"required": [
"handle"
]
},
"page": "/"
}add_to_cartAction
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.
View tool JSON
{
"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.",
"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"
]
},
"page": "/"
}view_cartAction
What's in the shopper's cart: each line with its line_id, color, size, quantity and price, plus the subtotal.
View tool JSON
{
"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.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}update_cart_itemAction
Change the quantity of one cart line (use its line_id from view_cart). Quantity 0 removes it.
View tool JSON
{
"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.",
"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"
]
},
"page": "/"
}begin_checkoutAction
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.
View tool JSON
{
"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.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}list_chaos_monkeysAnswer
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.
View tool JSON
{
"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.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "How many, newest first (default 6)."
}
}
},
"page": "/"
}request_printAction
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.
View tool JSON
{
"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.",
"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"
]
},
"page": "/"
}open_pageAction
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.
View tool JSON
{
"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.",
"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"
]
},
"page": "/"
}