Add variants
add_variantsAdd color-and-size variants to an existing product and resolve provider variant IDs before syncing, with a warning for AQUA-vs-Navy mismatches.
Instructions
Add variants to an existing product (split primitive). Resolves provider_variant_ids by color+size from the product's provider options (or pass them explicitly). Warns on the AQUA-vs-Navy trap. Variants must exist before syncing.
[#c9cff4]
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": {
"product_uuid": "<product_uuid>",
"variants": "<variants>"
},
"name": "add_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variants | Yes | ||
| workspace | No | ||
| product_uuid | Yes | ||
| product_ref_id | No | Enables the AQUA-vs-Navy guard for BC 3001 ("71"). |