Tool tree
React shoe store demo with WebMCP-enabled product browsing and cart
get_all_store_itemsanswer
Get all available store items
View tool JSON
{
"name": "get_all_store_items",
"kind": "answer",
"impl": "imperative",
"description": "Get all available store items",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_to_cartact
Add an item to the shopping cart
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add an item to the shopping cart",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "The ID of the item to add to the cart"
}
},
"required": [
"id"
],
"additionalProperties": false
}
}display_cartact
Display the current shopping cart items to user
View tool JSON
{
"name": "display_cart",
"kind": "act",
"impl": "imperative",
"description": "Display the current shopping cart items to user",
"inputSchema": {
"type": "object",
"properties": {}
}
}purchase_carttransact
Purchase the current shopping cart items
View tool JSON
{
"name": "purchase_cart",
"kind": "transact",
"impl": "imperative",
"description": "Purchase the current shopping cart items",
"inputSchema": {
"type": "object",
"properties": {}
}
}get_filter_optionsanswer
Get available filter options for products
View tool JSON
{
"name": "get_filter_options",
"kind": "answer",
"impl": "imperative",
"description": "Get available filter options for products",
"inputSchema": {
"type": "object",
"properties": {}
}
}filter_by_brandact
Filter products by brand
View tool JSON
{
"name": "filter_by_brand",
"kind": "act",
"impl": "imperative",
"description": "Filter products by brand",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"brand": {
"type": "string",
"description": "The brand to filter by"
}
},
"required": [
"brand"
],
"additionalProperties": false
}
}filter_by_genderact
Filter products by gender (e.g., MEN, WOMEN, KIDS)
View tool JSON
{
"name": "filter_by_gender",
"kind": "act",
"impl": "imperative",
"description": "Filter products by gender (e.g., MEN, WOMEN, KIDS)",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"gender": {
"type": "string",
"description": "The gender to filter by"
}
},
"required": [
"gender"
],
"additionalProperties": false
}
}filter_by_categoryact
Filter products by category
View tool JSON
{
"name": "filter_by_category",
"kind": "act",
"impl": "imperative",
"description": "Filter products by category",
"inputSchema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "The category to filter by"
}
},
"required": [
"category"
],
"additionalProperties": false
}
}