set_variable_mode_name
Rename a mode in a Figma variable collection by providing the collection ID, mode ID, and new name.
Instructions
Rename a mode in a Variable Collection.
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>",
"name": "<name>"
},
"name": "set_variable_mode_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New name for the mode | |
| modeId | Yes | Mode ID to rename | |
| collectionId | Yes | Variable Collection ID |