add_item
Create a new product in a tenant's catalogue and its default variant with a given price. Supply tenant ID, product name, and price to add the item.
Instructions
Adds a product to a tenant's catalogue. Creates both the item and a default variant with the given price.
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": {
"tenant_id": "<tenant_id>",
"name": "<name>",
"price": "<price>"
},
"name": "add_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Product name | |
| price | Yes | Price for the default variant | |
| tenant_id | Yes | Tenant UUID | |
| category_id | No | Category UUID to assign the item to | |
| description | No | Product description |