figma_set_stroke
Apply a stroke to a Figma node by specifying color, weight, dash pattern, and alignment.
Instructions
Set stroke (border) of a node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | Color as hex string "#RRGGBB" or object {r,g,b,a?} with 0-1 values | |
| nodeId | Yes | ||
| weight | No | ||
| dashPattern | No | Dash pattern array, e.g. [4,4] for dashed, [2,2] for dotted | |
| strokeAlign | No | INSIDE |