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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"radius": "<radius>"
},
"name": "set_corner_radius"
}
}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. |