createProduct
createProductCreate a new product in the catalog by specifying name and type, with optional configuration for SKU, description, tax codes, and custom attributes.
Instructions
Create a new product in 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": {
"name": "<name>",
"type": "<type>"
},
"name": "createProduct"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | SKU (stock keeping unit) identifier. | |
| name | Yes | Name of the product. | |
| type | Yes | Product type. Valid values: 'product' (standard product) or 'group' (product group). | |
| is_active | No | Whether the product is active. | |
| tax_codes | No | Tax code mapping object keyed by region/provider (e.g., {"avalara": "PS081282", "stripe": "txcd_99999999"}). | |
| description | No | Description of the product. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| custom_attributes | No | Custom attributes as key-value pairs. |