shape_update_style
Update the fill, stroke, corner radius, or opacity of an existing shape layer to change its appearance. Modify styling without recreating the shape.
Instructions
Modifies the fill, stroke, corner radius, or opacity of an existing shape layer.
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": "shape_update_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID | |
| opacity | No | Opacity (0 to 1) | |
| fillColor | No | Hex fill color | |
| strokeColor | No | Hex stroke color | |
| strokeWidth | No | Stroke width | |
| cornerRadius | No | Corner radius |