set_corner_radii
Set individual px corner radii on a Figma node; specify any combination of top-left, top-right, bottom-left, and bottom-right, leaving omitted corners unchanged.
Instructions
Set each corner radius separately (values in px; omitted corners are left as they are). To link a corner to a variable use bind_variable CORNER_TOP_LEFT etc.
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": "set_corner_radii"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | ID of the node | |
| topLeft | No | ||
| topRight | No | ||
| bottomLeft | No | ||
| bottomRight | No |