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.
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": {
"collectionId": "<collectionId>",
"modeId": "<modeId>",
"newName": "<newName>"
},
"name": "figma_rename_mode"
}
}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. |