Implementation
gradeNot graded
gradeNot graded
page: Every page
set_shopping_goalAction
Set the shopping goal visible to both the shopper and agent on the current ZShop page.
View tool JSON
{
"name": "set_shopping_goal",
"kind": "act",
"impl": "imperative",
"description": "Set the shopping goal visible to both the shopper and agent on the current ZShop page.",
"inputSchema": {
"type": "object",
"properties": {
"goal": {
"type": "string",
"minLength": 1,
"maxLength": 240,
"description": "A concise shopping goal, constraints, or recipient."
}
},
"required": [
"goal"
],
"additionalProperties": false
},
"page": "/"
}search_productsAnswer
Search the live ZShop catalog by shopper intent and return concise, comparable product facts.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the live ZShop catalog by shopper intent and return concise, comparable product facts.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Product name, category, or use-case keywords."
},
"maxResults": {
"type": "integer",
"minimum": 1,
"maximum": 10,
"default": 6
}
},
"required": [
"query"
],
"additionalProperties": false
},
"page": "/"
}inspect_productAnswer
Read current price, fulfilment, description, and option requirements for one ZShop product.
View tool JSON
{
"name": "inspect_product",
"kind": "answer",
"impl": "imperative",
"description": "Read current price, fulfilment, description, and option requirements for one ZShop product.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "integer",
"minimum": 1
}
},
"required": [
"productId"
],
"additionalProperties": false
},
"page": "/"
}view_cartAnswer
Read the signed-in shopper cart and return selected quantities and a verifiable total.
View tool JSON
{
"name": "view_cart",
"kind": "answer",
"impl": "imperative",
"description": "Read the signed-in shopper cart and return selected quantities and a verifiable total.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/"
}add_product_to_cartAction
Add one simple product to the signed-in shopper cart. Products with options are not guessed and return a selection URL instead.
View tool JSON
{
"name": "add_product_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add one simple product to the signed-in shopper cart. Products with options are not guessed and return a selection URL instead.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "integer",
"minimum": 1
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 1
}
},
"required": [
"productId"
],
"additionalProperties": false
},
"page": "/"
}