generate_variants
Generate 1-5 design variants of an existing screen, returning HTML for each. Use natural language to specify desired changes and receive ready-to-use screen variants.
Instructions
Generate 1-5 design variants of an existing screen. Returns array of screen IDs and HTML.
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 |
|---|---|---|---|
| count | No | Number of variants (1-5, default: 3) | |
| prompt | Yes | Variant generation prompt | |
| modelId | No | Model to use | |
| screenId | Yes | Source screen ID to create variants from | |
| projectId | Yes | Project ID | |
| deviceType | No | Target device type |