figma_rename_mode
Rename an existing mode in a Figma variable collection by providing collection ID, mode ID, and new name; requires the Desktop Bridge plugin to be running.
Instructions
Rename an existing mode in a Figma variable collection. Requires the Desktop Bridge plugin to be running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modeId | Yes | The mode ID to rename (e.g., '123:0'). Get this from the collection's modes array in figma_get_variables. | |
| newName | Yes | The new name for the mode (e.g., 'Dark Theme', 'Tablet'). | |
| collectionId | Yes | The collection ID containing the mode (e.g., 'VariableCollectionId:123:456'). Get this from figma_get_variables. |