layer_delete
Deletes a specified layer from the canvas using its layer ID, so AI agents can remove unwanted design elements during editing workflows.
Instructions
Deletes a layer from the canvas.
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": "layer_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID to delete |