Set corner radius
figma_set_corner_radiusSet corner radius on Figma frames and rectangles: apply one radius to all corners or per-corner radii, and add iOS-style smoothing (0–1) to round or squircle nodes.
Instructions
Round the corners of nodes: one radius for all corners, or radii [topLeft, topRight, bottomRight, bottomLeft] per corner (frames and rectangles); smoothing 0–1 makes them continuous like iOS (0.6 is the iOS squircle) and can be set alone. Returns per-item results: { updated, items: [{ id, ok, error? }] } — one node failing does not fail the call. Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radii | No | [topLeft, topRight, bottomRight, bottomLeft]. | |
| radius | No | Same radius for every corner. | |
| nodeIds | Yes | Nodes to change. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| smoothing | No | Corner smoothing 0–1 (0 = circular arcs). | |
| idempotencyKey | No | Caller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely. |