demo · Commerce · JSON · API for agents
Navigates to the product detail page for a given product. You can provide its exact productId, or productName.
{
"name": "view_product",
"kind": "read",
"impl": "imperative",
"description": "Navigates to the product detail page for a given product. You can provide its exact productId, or productName.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "string",
"description": "The unique ID of the product."
},
"productName": {
"type": "string",
"description": "A part of the product name or keywords to match (e.g. 'training balls')."
}
}
}
}Returns detailed information about a product. You can provide its exact productId, or productName.
{
"name": "get_product_info",
"kind": "read",
"impl": "imperative",
"description": "Returns detailed information about a product. You can provide its exact productId, or productName.",
"inputSchema": {
"type": "object",
"properties": {
"productId": {
"type": "string",
"description": "The unique ID of the product."
},
"productName": {
"type": "string",
"description": "A part of the product name or keywords to match (e.g. 'training balls')."
}
}
}
}Opens the shopping cart modal to review items and proceed to checkout.
{
"name": "open_cart",
"kind": "action",
"impl": "imperative",
"description": "Opens the shopping cart modal to review items and proceed to checkout.",
"inputSchema": {
"type": "object",
"properties": {}
}
}Search for products based on the query.
{
"name": "search_product",
"kind": "read",
"impl": "imperative",
"description": "Search for products based on the query.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search term for products (e.g. 'soccer boots', 'running gear')."
},
"category": {
"type": "string",
"description": "The product category to browse.",
"enum": [
"ALL",
"BASKETBALL",
"SOCCER",
"BASEBALL",
"RUNNING"
]
},
"size": {
"type": "string",
"description": "Product size.",
"enum": [
"ALL",
"adult",
"child"
]
}
}
}
}Returns active promotional campaigns, eligibility requirements, and general store rules (e.g., local pickup categories).
{
"name": "get_store_promos_and_rules",
"kind": "read",
"impl": "imperative",
"description": "Returns active promotional campaigns, eligibility requirements, and general store rules (e.g., local pickup categories).",
"inputSchema": {
"type": "object",
"properties": {}
}
}