Add Product Smartly
add_product_smartlyCreate a product with SKU, name, price, and quantity; avoid duplicate SKUs and auto-generate descriptions when missing.
Instructions
Create a new product with sku, name, description(optional), price, and quantity. Since description is optional, is description is missing, use smart AI generated description if missing. This tool also checks for existing products with the same SKU to prevent duplicates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sku": "<sku>",
"name": "<name>",
"price": "<price>",
"quantity": "<quantity>"
},
"name": "add_product_smartly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | ||
| name | Yes | ||
| price | Yes | ||
| quantity | Yes | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| sku | Yes | ||
| name | Yes | ||
| price | Yes | ||
| quantity | Yes | ||
| created_at | No | ||
| updated_at | No | ||
| description | No |