add-product
Creates a new catalog product using an ID, name, price, quantity, and description to support inventory and product management.
Instructions
Add a new product to the catalog
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": {
"id": "<id>",
"name": "<name>",
"price": "<price>",
"quantity": "<quantity>",
"description": "<description>"
},
"name": "add-product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier for the product | |
| name | Yes | The name of the product | |
| price | Yes | Unit price of the product | |
| quantity | Yes | Initial stock quantity | |
| description | Yes | Brief description of the product |