create_line
Create a line or divider in Figma by defining length, direction, stroke color, and weight.
Instructions
Create a line or divider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name (default: Line) | |
| length | Yes | Line length | |
| parentId | No | Parent node ID | |
| direction | No | Direction (default: HORIZONTAL) | |
| strokeColor | No | Stroke color | |
| strokeWeight | No | Stroke weight (default: 1) |