Round the corners
figma_set_corner_radiusSet uniform or individual corner radii on Figma nodes. Apply one radius to all corners or define each corner separately.
Instructions
Sets one radius for every corner, or each corner on its own.
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": {
"nodeId": "<nodeId>"
},
"name": "figma_set_corner_radius"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node id, like "21:10314". Omit to use whatever is selected on the canvas. | |
| radius | No | All four corners. | |
| topLeftRadius | No | ||
| topRightRadius | No | ||
| bottomLeftRadius | No | ||
| bottomRightRadius | No |