create_inventory_variant
Add a new inventory variant or SKU to an existing product, preventing duplicate names or SKUs within the same product.
Instructions
Create an inventory variant/SKU under a product resolved by ID or exact name. Rejects duplicate variant names or SKUs in the same product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | a string that will be trimmed | |
| category | No | a string that will be trimmed | |
| name | Yes | a string that will be trimmed | |
| sku | Yes | a string that will be trimmed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The successful tool result. The same value is also serialized as JSON in the text content for clients that do not read structuredContent. | |
| warnings | No | Optional agent-visible warnings about degraded result fidelity. Omitted when the server returned the documented happy-path payload. |