design_set_shape_style
Update fill and stroke styles for an existing shape layer by setting colors, stroke width, and fill or stroke visibility.
Instructions
Update fill and stroke styles 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": "design_set_shape_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | ID of the shape layer. | |
| fillColor | No | Fill color (hex). | |
| fillEnabled | No | Enable/disable fill. | |
| strokeColor | No | Stroke color (hex). | |
| strokeWidth | No | Stroke width in pixels. | |
| strokeEnabled | No | Enable/disable stroke. |