set_variable_mode
Switch theme variable modes for one or many Figma nodes. Target selected node IDs, a root node with optional recursion, or the current page by mode ID or exact mode name.
Instructions
Theme switch: set the variable mode for one or many nodes. modeId can be a mode id or exact mode name. Scope via nodeIds, rootNodeId (recurse defaults true, pass recurse:false for the root only), or the whole current page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modeId | Yes | ||
| nodeIds | No | ||
| recurse | No | ||
| rootNodeId | No | ||
| collectionId | No |