design_remove_layer
Removes a design layer from the active sketch or a specified sketch by layer ID, helping clean up generative art compositions and manage sketch layers.
Instructions
Remove a design layer from the active sketch
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": {
"layerId": "<layerId>"
},
"name": "design_remove_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | ID of the layer to remove | |
| sketchId | No | Target sketch ID (default: selected sketch) |