set_variable
Create, update, or delete Figma variables (design tokens) in bulk. Manage variable collections, types, modes, and descriptions efficiently through structured input formats for consistent design token handling.
Instructions
Creates, updates, or deletes one or more Figma Variables (design tokens).
Returns:
content: Array of objects. Each object contains a type: "text" and a text field with the result or summary.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ids | No | One or more variable IDs to delete. Can be a single string or an array of strings. | |
variables | No | One or more variable definitions to create or update. Can be a single object or an array. |