figma_rename_variable
Rename an existing Figma variable while preserving its values and settings; use slash-separated names to organize groups. Requires the Desktop Bridge plugin.
Instructions
Rename an existing Figma variable. This updates the variable's name while preserving all its values and settings. Requires the Desktop Bridge plugin to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | The new name for the variable. Can include slashes for grouping (e.g., 'colors/primary/background'). | |
| variableId | Yes | The variable ID to rename (e.g., 'VariableID:123:456'). Get this from figma_get_variables. |