layer_delete
Delete a layer and its instances from a Construct 2 project layout by specifying project, layout, and layer. Remove unwanted layers and their objects in one action.
Instructions
Delete a layer and its 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>",
"layout": "<layout>",
"layer": "<layer>"
},
"name": "layer_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| layout | Yes | ||
| project | Yes | ||
| editor_sync | No |