set_strokes
Set stroke color and weight on a Figma node. Use append mode to add a stroke without replacing existing ones.
Instructions
Set the stroke color and weight on a single node (takes one nodeId, not an array). Use mode='append' to stack a new stroke on top of existing strokes instead of replacing them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'replace' (default) overwrites all strokes; 'append' stacks on top of existing strokes | |
| color | Yes | Stroke color as hex e.g. #000000 | |
| nodeId | Yes | Node ID in colon format e.g. '4029:12345' | |
| strokeWeight | No | Stroke weight in pixels (default 1) |