Tool tree
gradeNot graded
page: Every page
search_productsAnswer
Search the Out of Body body jewellery catalogue. Returns matching products with id, name, price (AUD), stock and URL. Use get_product for options and variation ids.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the Out of Body body jewellery catalogue. Returns matching products with id, name, price (AUD), stock and URL. Use get_product for options and variation ids.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Keywords, e.g. \"titanium labret 16g\"."
},
"category": {
"type": [
"integer",
"string"
],
"description": "A category id or slug from list_categories."
},
"min_price": {
"type": "number",
"description": "Lowest price in dollars."
},
"max_price": {
"type": "number",
"description": "Highest price in dollars."
},
"in_stock": {
"type": "boolean",
"description": "Only products in stock. Default true."
},
"on_sale": {
"type": "boolean",
"description": "Only products on sale."
},
"orderby": {
"type": "string",
"enum": [
"popularity",
"price",
"date",
"rating"
],
"description": "Sort order. Default popularity."
},
"order": {
"type": "string",
"enum": [
"asc",
"desc"
]
},
"per_page": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "Default 10."
},
"page": {
"type": "integer",
"minimum": 1
}
}
},
"page": "/"
}list_categoriesAnswer
List the shop's product categories, with id, slug, name, parent id and product count. Pass an id or slug to search_products.
View tool JSON
{
"name": "list_categories",
"kind": "answer",
"impl": "imperative",
"description": "List the shop's product categories, with id, slug, name, parent id and product count. Pass an id or slug to search_products.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}get_productAnswer
Get one product by id: price, stock, description, images, quantity limits, and for products with options (size, colour, gauge) each variation's id. Add a variation to the cart by its id.
View tool JSON
{
"name": "get_product",
"kind": "answer",
"impl": "imperative",
"description": "Get one product by id: price, stock, description, images, quantity limits, and for products with options (size, colour, gauge) each variation's id. Add a variation to the cart by its id.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Product id from search_products."
}
},
"required": [
"id"
]
},
"page": "/"
}get_cartAnswer
Get the shopper's cart: items (with the key to change or remove each), subtotal, discount, shipping and total.
View tool JSON
{
"name": "get_cart",
"kind": "answer",
"impl": "imperative",
"description": "Get the shopper's cart: items (with the key to change or remove each), subtotal, discount, shipping and total.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}add_to_cartAction
Add a product to the shopper's cart. For a product with options, pass the variation id from get_product, not the product id. Returns the cart.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add a product to the shopper's cart. For a product with options, pass the variation id from get_product, not the product id. Returns the cart.",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Product id, or variation id for a product with options."
},
"quantity": {
"type": "integer",
"minimum": 1,
"description": "Default 1."
}
},
"required": [
"id"
]
},
"page": "/"
}update_cart_itemAction
Change the quantity of an item in the cart, by its key from get_cart. Returns the cart.
View tool JSON
{
"name": "update_cart_item",
"kind": "act",
"impl": "imperative",
"description": "Change the quantity of an item in the cart, by its key from get_cart. Returns the cart.",
"inputSchema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The item's key from get_cart."
},
"quantity": {
"type": "integer",
"minimum": 1
}
},
"required": [
"key",
"quantity"
]
},
"page": "/"
}remove_from_cartAction
Remove an item from the cart, by its key from get_cart. Returns the cart.
View tool JSON
{
"name": "remove_from_cart",
"kind": "act",
"impl": "imperative",
"description": "Remove an item from the cart, by its key from get_cart. Returns the cart.",
"inputSchema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "The item's key from get_cart."
}
},
"required": [
"key"
]
},
"page": "/"
}open_checkoutAction
Open the checkout page with the current cart. This does not place an order: the shopper enters their details and pays on the page themselves.
View tool JSON
{
"name": "open_checkout",
"kind": "act",
"impl": "imperative",
"description": "Open the checkout page with the current cart. This does not place an order: the shopper enters their details and pays on the page themselves.",
"inputSchema": {
"type": "object",
"properties": {}
},
"page": "/"
}