Personalise team shirts
create_design_variantsClone the active/base design into personalised designs. Supply areaId and variants with nameText, numberText, size, quantity and optional product/items. This replaces existing name/number text objects: first ensure separate name and number templates exist in the intended print area, adding missing templates with add_text. It does not create those text objects itself. Set append:true to retain existing session designs; otherwise the variants replace that collection. Preserve the common artwork and check each supplied name and number. Pass only the complete intended designs to checkout.
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": {
"subject": "<subject>",
"sessionToken": "<sessionToken>",
"requestId": "<requestId>"
},
"name": "create_design_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | Existing arguments; advanced fields/aliases remain accepted. Supplied design patches can overwrite session content; preview/rendering can fetch public image URLs in those designs. Catalogue/session results include the full designArgumentSchema. | |
| subject | Yes | The exact subject returned by start_design_session. | |
| requestId | Yes | Generate a UUID for a new action. Reuse it only for retrying/polling that same action and payload. A new user edit needs a new UUID. | |
| sessionToken | Yes | The private expiring capability returned by start_design_session. Do not publish it. |