set_corner_radius
Modify the corner radius of a Figma node by specifying the radius in pixels and optional corner settings for top-left, top-right, bottom-right, and bottom-left corners.
Instructions
Sets the corner radius of a node in Figma.
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the updated node's ID.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
corners | No | Optional array of four booleans indicating which corners to apply the radius to, in order: [top-left, top-right, bottom-right, bottom-left]. | |
radius | Yes | The corner radius to set, in pixels. Must be a non-negative number. |