set_instance_properties
Changes component properties on a Figma instance, enabling variant switching such as Platform from Desktop to Mobile.
Instructions
Set component properties on an instance (e.g. switch Platform from Desktop to Mobile)
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>",
"properties": "<properties>"
},
"name": "set_instance_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The instance node ID | |
| properties | Yes | Properties to set, e.g. {"Platform": "Mobile"} |