generate_variants
Create multiple design variations for an existing screen by specifying the aspects to vary (color, layout, images, fonts, text) and the creative range, guided by a prompt.
Instructions
Generate design variants of an existing screen
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": {
"projectId": "<projectId>",
"screenId": "<screenId>",
"prompt": "<prompt>"
},
"name": "generate_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Prompt guiding the variants (e.g., 'Try different color schemes') | |
| aspects | No | Aspects of the design to vary | |
| screenId | Yes | The ID of the screen to generate variants from | |
| projectId | Yes | The ID of the project containing the screen | |
| variantCount | No | Number of variants to generate (1-5) | |
| creativeRange | No | How different the variants should be | EXPLORE |