Create Empty Variant
create_variantCreates an empty variant in the selected project and counts against the plan's variant limit. The first variant for a content type becomes active automatically. Later variants are created inactive. Use this when the user wants an empty starting point.
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": {
"contentType": "<contentType>"
},
"name": "create_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| projectId | No | Alias of generationId (the project id). | |
| setActive | No | Not supported: an empty active variant would replace what the hub shows and what render_screenshots exports. Fill the variant, then call set_active_variant. | |
| contentType | Yes | ||
| generationId | No | Project id: the same UUID as projectId from list_projects/get_project (generationId is its legacy name). You may pass projectId instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |