Tool tree
MyShop offers considered furniture, lighting, ceramics and objects.
Implementation
gradeNot graded
gradeNot graded
page: Every page
myshop.search_productsAction
Search MyShop products by text and optional category.
View tool JSON
{
"name": "myshop.search_products",
"kind": "act",
"impl": "imperative",
"description": "Search MyShop products by text and optional category.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 100
},
"category": {
"type": "string"
}
},
"additionalProperties": false
},
"page": "/"
}myshop.get_productAnswer
Read one product, including price, material, dimensions, and current availability.
View tool JSON
{
"name": "myshop.get_product",
"kind": "answer",
"impl": "imperative",
"description": "Read one product, including price, material, dimensions, and current availability.",
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 80
}
},
"required": [
"slug"
],
"additionalProperties": false
},
"page": "/"
}myshop.get_cartAnswer
Read the current customer cart.
View tool JSON
{
"name": "myshop.get_cart",
"kind": "answer",
"impl": "imperative",
"description": "Read the current customer cart.",
"inputSchema": {
"type": "object",
"properties": {
"cartId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"additionalProperties": false
},
"page": "/"
}myshop.add_to_cartAction
Set the desired quantity for a product in the customer cart.
View tool JSON
{
"name": "myshop.add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Set the desired quantity for a product in the customer cart.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"cartId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"required": [
"productId",
"quantity"
],
"additionalProperties": false
},
"page": "/"
}myshop.update_cartAction
Update an item quantity. Set quantity to zero to remove the item.
View tool JSON
{
"name": "myshop.update_cart",
"kind": "act",
"impl": "imperative",
"description": "Update an item quantity. Set quantity to zero to remove the item.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"quantity": {
"type": "integer",
"minimum": 0,
"maximum": 10
},
"cartId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"required": [
"productId",
"quantity"
],
"additionalProperties": false
},
"page": "/"
}myshop.checkoutSensitive Action
Complete checkout using the current cart and the customer's delivery details.
View tool JSON
{
"name": "myshop.checkout",
"kind": "transact",
"impl": "imperative",
"description": "Complete checkout using the current cart and the customer's delivery details.",
"inputSchema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"cartId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9_-]+$"
},
"requestId": {
"type": "string"
},
"idempotencyKey": {
"type": "string"
}
},
"required": [
"email",
"name",
"address",
"requestId",
"idempotencyKey"
],
"additionalProperties": false
},
"page": "/"
}myshop.get_orderAnswer
Look up one order by order ID.
View tool JSON
{
"name": "myshop.get_order",
"kind": "answer",
"impl": "imperative",
"description": "Look up one order by order ID.",
"inputSchema": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"pattern": "^[a-zA-Z0-9_-]+$"
}
},
"required": [
"orderId"
],
"additionalProperties": false
},
"page": "/"
}myshop.get_healthAnswer
Read customer-safe storefront health and availability information.
View tool JSON
{
"name": "myshop.get_health",
"kind": "answer",
"impl": "imperative",
"description": "Read customer-safe storefront health and availability information.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/"
}