layout_create
Create a new layout in a Construct 2 project, set its dimensions, attach or create an event sheet, and optionally copy layers and instances from another layout.
Instructions
Add a layout. event_sheet: "new" makes " sheet", a name links an existing sheet, null for none. copy_from duplicates another layout's layers and instances.
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": {
"project": "<project>",
"name": "<name>"
},
"name": "layout_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| width | No | ||
| folder | No | ||
| height | No | ||
| project | Yes | ||
| copy_from | No | ||
| editor_sync | No | ||
| event_sheet | No | new |