figma_generate_screen
figma_generate_screenCreates a structured app screen in Figma from JSON elements, letting AI agents generate layout-ready frames with specified dimensions and backgrounds.
Instructions
Create a structured app screen from JSON elements.
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": {
"name": "<name>",
"elements": "<elements>"
},
"name": "figma_generate_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| width | No | ||
| height | No | ||
| elements | Yes | ||
| parentId | No | ||
| screenKey | No | ||
| backgroundColor | No |