Tool tree
Polish online store selling wooden beds for children, including bunk and single beds, plus children's accessories.
Implementation
gradeNot graded
gradeNot graded
search_productsAction
Search the store catalog for products matching a query. Navigates to the search results page.
View tool JSON
{
"name": "search_products",
"kind": "act",
"impl": "imperative",
"description": "Search the store catalog for products matching a query. Navigates to the search results page.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Product search phrase"
}
},
"required": [
"query"
]
}
}add_to_cartAction
Add a product to the shopping cart. For products with variants (size, color), id_product_attribute is REQUIRED — it is the combination ID. You can find it on the product page URL after selecting a variant (e.g. /123-456-tshirt.html#/1-rozmiar-m or ?id_product_attribute=456) or in the hidden input [name=id_product_attribute] on the product page.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add a product to the shopping cart. For products with variants (size, color), id_product_attribute is REQUIRED — it is the combination ID. You can find it on the product page URL after selecting a variant (e.g. /123-456-tshirt.html#/1-rozmiar-m or ?id_product_attribute=456) or in the hidden input [name=id_product_attribute] on the product page.",
"inputSchema": {
"type": "object",
"properties": {
"id_product": {
"type": "integer",
"description": "PrestaShop product ID"
},
"id_product_attribute": {
"type": "integer",
"description": "Combination (variant) ID. Omit or 0 only for products without variants."
},
"quantity": {
"type": "integer",
"description": "Quantity, default 1"
}
},
"required": [
"id_product"
]
}
}add_current_product_to_cartAction
Add the product currently displayed on this product page to the cart, with the currently selected variant (size/color). Select the desired variant on the page first, then call this. Only works on product pages.
View tool JSON
{
"name": "add_current_product_to_cart",
"kind": "act",
"impl": "imperative",
"description": "Add the product currently displayed on this product page to the cart, with the currently selected variant (size/color). Select the desired variant on the page first, then call this. Only works on product pages.",
"inputSchema": {
"type": "object",
"properties": {
"quantity": {
"type": "integer",
"description": "Quantity, default 1"
}
}
}
}get_cart_summaryAnswer
Get the current cart contents and total.
View tool JSON
{
"name": "get_cart_summary",
"kind": "answer",
"impl": "imperative",
"description": "Get the current cart contents and total.",
"inputSchema": {
"type": "object",
"properties": {}
}
}