Tool tree
A WebMCP-powered fictional camera store where product discovery, comparison, reviews, and cart context share one adaptive canvas.
Implementation
gradeNot graded
gradeNot graded
search_productsAction
Search the fictional camera catalog, update its visible results, and rearrange ShopCanvas to emphasize the catalog.
View tool JSON
{
"name": "search_products",
"kind": "act",
"impl": "imperative",
"description": "Search the fictional camera catalog, update its visible results, and rearrange ShopCanvas to emphasize the catalog.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 80,
"description": "Words to match against product names, categories, and features."
},
"max_price_usd": {
"type": "number",
"minimum": 0,
"maximum": 5000,
"description": "Optional maximum product price in US dollars."
},
"max_weight_grams": {
"type": "number",
"minimum": 100,
"maximum": 5000,
"description": "Optional maximum product weight in grams."
},
"sort_by": {
"type": "string",
"enum": [
"relevance",
"price_asc",
"price_desc",
"rating_desc"
],
"default": "relevance",
"description": "Order to use for matching products."
}
},
"required": [
"query"
]
}
}inspect_productAction
Focus one fictional catalog product and rearrange ShopCanvas to show its overview, specifications, and related products.
View tool JSON
{
"name": "inspect_product",
"kind": "act",
"impl": "imperative",
"description": "Focus one fictional catalog product and rearrange ShopCanvas to show its overview, specifications, and related products.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"product_id": {
"type": "string",
"enum": [
"northstar-air",
"meridian-mini",
"atlas-field",
"nocturne-one",
"drift-pocket",
"harbor-40",
"kite-v2",
"morrow-pro"
],
"description": "A product ID returned by search_products."
}
},
"required": [
"product_id"
]
}
}compare_productsAction
Compare two or three fictional catalog products and rearrange ShopCanvas to place their meaningful specifications side by side.
View tool JSON
{
"name": "compare_products",
"kind": "act",
"impl": "imperative",
"description": "Compare two or three fictional catalog products and rearrange ShopCanvas to place their meaningful specifications side by side.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"product_ids": {
"type": "array",
"minItems": 2,
"maxItems": 3,
"uniqueItems": true,
"description": "Two or three product IDs; the first becomes the visual anchor.",
"items": {
"type": "string",
"enum": [
"northstar-air",
"meridian-mini",
"atlas-field",
"nocturne-one",
"drift-pocket",
"harbor-40",
"kite-v2",
"morrow-pro"
]
}
}
},
"required": [
"product_ids"
]
}
}show_reviewsAction
Focus a fictional product, filter its mocked customer reviews by words and sentiment, and expand the visible reviews panel.
View tool JSON
{
"name": "show_reviews",
"kind": "act",
"impl": "imperative",
"description": "Focus a fictional product, filter its mocked customer reviews by words and sentiment, and expand the visible reviews panel.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"product_id": {
"type": "string",
"enum": [
"northstar-air",
"meridian-mini",
"atlas-field",
"nocturne-one",
"drift-pocket",
"harbor-40",
"kite-v2",
"morrow-pro"
],
"description": "The product whose mocked customer reviews should be shown."
},
"query": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "Optional words to match in review titles, bodies, and topics."
},
"sentiment": {
"type": "string",
"enum": [
"all",
"positive",
"critical"
],
"default": "all",
"description": "Review tone to include."
}
},
"required": [
"product_id"
]
}
}set_cart_quantityAction
Set a product quantity in the reversible mock local cart and expand it. Zero removes the item. This never orders or charges.
View tool JSON
{
"name": "set_cart_quantity",
"kind": "act",
"impl": "imperative",
"description": "Set a product quantity in the reversible mock local cart and expand it. Zero removes the item. This never orders or charges.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"product_id": {
"type": "string",
"enum": [
"northstar-air",
"meridian-mini",
"atlas-field",
"nocturne-one",
"drift-pocket",
"harbor-40",
"kite-v2",
"morrow-pro"
],
"description": "The product to update in the reversible mock cart."
},
"quantity": {
"type": "integer",
"minimum": 0,
"maximum": 5,
"description": "Desired quantity from 0 to 5; zero removes the product."
}
},
"required": [
"product_id",
"quantity"
]
}
}