Duplicate Variant
duplicate_variantCopies a variant's saved content and translations into a new inactive variant with a copy label. Preserves the original and counts against the plan's variant limit. Returns the copy and editor link.
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": {
"variantId": "<variantId>"
},
"name": "duplicate_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variantId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |