get_variable_defs
Retrieve all local variables from the Figma document, organized by collections with their modes and default mode. For each variable, get its resolved type and values by mode, including color values or alias references.
Instructions
Return the document's local variables as { collections, variables }. Each collection lists its modes and defaultModeId; each variable lists its resolvedType and valuesByMode (primitives, RGBA colors, or { type: "VARIABLE_ALIAS", id } references to other variables).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||