rename_variable
Rename a Figma variable without breaking existing bindings; the variable ID remains unchanged. Use slashes for folder grouping.
Instructions
Rename a variable (e.g. "color/primary" → "color/brand"); use slashes in the name for folder grouping in the Variables panel. The variable id is unchanged, so existing bindings keep working. Returns { ok, variableId, name }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | New variable name, e.g. "color/brand" | |
| variableId | Yes | Variable id |