studio_generate_layout
Design a layout from a brief: returns { layout: { name, background, layers[] } } with rect, ellipse, text and image layers positioned in pixels on a width×height artboard. Place it in a Design Studio file with studio_create_document / studio_add_frames / studio_add_elements. Cost: 1 credit.
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": {
"prompt": "<prompt>"
},
"name": "studio_generate_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Artboard width in pixels (optional; chosen to suit the brief when omitted) | |
| height | No | Artboard height in pixels (optional) | |
| prompt | Yes | What to design, e.g. 'Instagram post announcing a summer sale, bold and warm' (max 2000 chars) |