Tool tree
Dumyah is an online store in Arabic and English selling kids’, beauty, home and kitchen products, with fast delivery and free returns.
Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
Search this store's product catalog by keyword (Arabic or English). Returns matching products with their id, name, price (an object: price.price is payable now, price.sale_price present while discounted), old_price, stock quantity, rating and storefront page path (href). Sponsored placements are flagged is_sponsored.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "Search this store's product catalog by keyword (Arabic or English). Returns matching products with their id, name, price (an object: price.price is payable now, price.sale_price present while discounted), old_price, stock quantity, rating and storefront page path (href). Sponsored placements are flagged is_sponsored.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search keywords, e.g. \"stroller\" or \"عربة أطفال\""
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"default": 10,
"description": "Maximum products to return"
},
"page": {
"type": "integer",
"minimum": 1,
"default": 1
}
},
"required": [
"query"
]
},
"page": "/ar"
}get_product_detailsAnswer
Get the full details of one product by its numeric product id: name, description, price, sale price, availability, brand, rating.
View tool JSON
{
"name": "get_product_details",
"kind": "answer",
"impl": "imperative",
"description": "Get the full details of one product by its numeric product id: name, description, price, sale price, availability, brand, rating.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "integer",
"minimum": 1,
"description": "The product id from search_products"
}
},
"required": [
"product_id"
]
},
"page": "/ar"
}list_categoriesAnswer
List the store's product categories. Omit category_id (or pass 0) for the top level; pass a category id to list its subcategories.
View tool JSON
{
"name": "list_categories",
"kind": "answer",
"impl": "imperative",
"description": "List the store's product categories. Omit category_id (or pass 0) for the top level; pass a category id to list its subcategories.",
"inputSchema": {
"type": "object",
"properties": {
"category_id": {
"type": "integer",
"minimum": 0,
"default": 0
}
}
},
"page": "/ar"
}