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