Tool tree
Online store selling men's and women's clothing, footwear and accessories.
Implementation
gradeNot graded
gradeNot graded
search_productsAnswer
جستجوی زنده محصولات فروشگاه با نام یا عبارت.
View tool JSON
{
"name": "search_products",
"kind": "answer",
"impl": "imperative",
"description": "جستجوی زنده محصولات فروشگاه با نام یا عبارت.",
"inputSchema": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 100,
"description": "نام یا عبارت جستجو"
}
},
"required": [
"query"
],
"additionalProperties": false
}
}get_cart_summaryAnswer
نمایش اقلام و مجموع فعلی سبد خرید بدون تغییر وضعیت.
View tool JSON
{
"name": "get_cart_summary",
"kind": "answer",
"impl": "imperative",
"description": "نمایش اقلام و مجموع فعلی سبد خرید بدون تغییر وضعیت.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}add_to_cartAction
افزودن محصول مشخص به سبد با تعداد و در صورت نیاز ویژگیهای variation.
View tool JSON
{
"name": "add_to_cart",
"kind": "act",
"impl": "imperative",
"description": "افزودن محصول مشخص به سبد با تعداد و در صورت نیاز ویژگیهای variation.",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "integer",
"minimum": 1,
"description": "شناسه محصول"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"description": "تعداد"
},
"variation": {
"type": "array",
"maxItems": 30,
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"attribute",
"value"
],
"additionalProperties": false
},
"description": "ویژگیهای variation"
}
},
"required": [
"product_id"
],
"additionalProperties": false
}
}open_productAction
باز کردن صفحه محصول با slug واقعی فروشگاه.
View tool JSON
{
"name": "open_product",
"kind": "act",
"impl": "imperative",
"description": "باز کردن صفحه محصول با slug واقعی فروشگاه.",
"inputSchema": {
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 180,
"description": "slug محصول"
}
},
"required": [
"slug"
],
"additionalProperties": false
}
}