Implementation
gradeNot graded
gradeNot graded
search_pet_productsAnswer
Search the pet product catalog by pet type, category, life stage, need tags, price, rating, stock, and text query.
View tool JSON
{
"name": "search_pet_products",
"kind": "answer",
"impl": "imperative",
"description": "Search the pet product catalog by pet type, category, life stage, need tags, price, rating, stock, and text query.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string"
},
"petType": {
"type": "string",
"enum": [
"dog",
"cat",
"all"
]
},
"category": {
"type": "string",
"enum": [
"food",
"supplement",
"toy",
"cleaning",
"travel",
"all"
]
},
"lifeStage": {
"type": "string",
"enum": [
"puppy",
"kitten",
"adult",
"senior",
"all"
]
},
"needs": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"maxPrice": {
"type": "number"
},
"minRating": {
"type": "number"
},
"inStockOnly": {
"type": "boolean"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 20
}
},
"additionalProperties": false
},
"page": "/webmcp-demo/"
}get_pet_product_detailsAnswer
Get full details for a pet product by productId.
View tool JSON
{
"name": "get_pet_product_details",
"kind": "answer",
"impl": "imperative",
"description": "Get full details for a pet product by productId.",
"inputSchema": {
"type": "object",
"required": [
"productId"
],
"properties": {
"productId": {
"type": "string"
}
},
"additionalProperties": false
},
"page": "/webmcp-demo/"
}add_pet_product_to_cartAction
Add an in-stock pet product to the cart. Use quantity 1 for the benchmark task unless the user asks otherwise.
View tool JSON
{
"name": "add_pet_product_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add an in-stock pet product to the cart. Use quantity 1 for the benchmark task unless the user asks otherwise.",
"inputSchema": {
"type": "object",
"required": [
"productId"
],
"properties": {
"productId": {
"type": "string"
},
"quantity": {
"type": "number",
"minimum": 1,
"maximum": 10
}
},
"additionalProperties": false
},
"page": "/webmcp-demo/"
}view_cartAction
View current cart line items, quantities, and total price.
View tool JSON
{
"name": "view_cart",
"kind": "act",
"impl": "imperative",
"description": "View current cart line items, quantities, and total price.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/webmcp-demo/"
}