generate_responsive_variant
Generate a responsive screen variant for a target device (mobile, tablet, desktop) from an existing screen, preserving the design language.
Instructions
Creates a responsive variant of an existing screen for a different device type while maintaining the same design language.
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>",
"targetDevice": "<targetDevice>"
},
"name": "generate_responsive_variant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenId | Yes | The source screen ID. | |
| projectId | Yes | The project ID. | |
| targetDevice | Yes | Target device type. | |
| adaptationStrategy | No | Adaptation approach: reflow (same content, different layout), reorganize (restructure for device), simplify (remove non-essential elements). | reflow |