design_update_layer
Modify a design layer's properties, including text content, filter intensity, shape fill color, and painting stroke settings. Set key-value pairs by layer ID to adjust generative art elements.
Instructions
Update properties on a design layer (e.g. text content, filter intensity, shape fill color). For painting:stroke layers, updatable properties include: pathSource, pathBrushId, pathColor, depthMapping (JSON string).
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_update_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name | |
| layerId | Yes | ID of the layer to update | |
| sketchId | No | Target sketch ID (default: selected sketch) | |
| properties | No | Property key-value pairs to set |