generate_mobile
Generate a mobile-optimized version of any desktop Figma frame. Provide the desktop frame node and optional width to produce a layout suited for mobile screens.
Instructions
Generate a mobile-optimized version of a desktop design.
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": {
"nodeId": "<nodeId>"
},
"name": "generate_mobile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Mobile width (default: 375) | |
| nodeId | Yes | Desktop frame |