set_stroke
Add a stroke border to any Figma node by specifying color, weight, alignment, opacity, and dash pattern for precise styling.
Instructions
Add border/stroke to a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | Stroke alignment (default: INSIDE) | |
| color | No | Stroke color hex | |
| nodeId | Yes | Target node ID | |
| weight | No | Stroke weight (default: 1) | |
| opacity | No | Stroke opacity | |
| dashPattern | No | Dash pattern array, e.g. [4, 4] |