Add Product
add_productCreate a new e-commerce product by supplying its SKU, name, price, and quantity, with an optional description for the catalog entry.
Instructions
Create a new product with sku, name, (optional) description, price, and quantity.
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"
}
}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 |