set_corner_radius
Set a Figma node's corner radius uniformly or per corner. Adjust individual corners for shapes like cards or chat bubbles.
Instructions
Set a node's corner radius. Pass radius for a uniform radius, and/or per-corner topLeftRadius / topRightRadius / bottomRightRadius / bottomLeftRadius (for nodes that support individual corners, e.g. a card rounded only on top, a tab or a chat bubble). A per-corner value overrides radius for that corner. At least one of radius or a corner is required. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node id | |
| radius | No | Uniform corner radius in px | |
| topLeftRadius | No | Top-left corner radius in px | |
| topRightRadius | No | Top-right corner radius in px | |
| bottomLeftRadius | No | Bottom-left corner radius in px | |
| bottomRightRadius | No | Bottom-right corner radius in px |