set_variant_properties
Rename a Figma component with variant properties using Property=Value syntax to define its variants and support component set organization.
Instructions
Rename a component using Figma's variant naming format (Property=Value, ...).
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": {
"properties": "<properties>"
},
"name": "set_variant_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ||
| properties | Yes | ||
| componentId | No |