get_variable_defs
Retrieve a Figma document's local variables, including collections, modes, default mode IDs, variable types, and per-mode values with support for colors, aliases, and easing curves.
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, { type: "VARIABLE_ALIAS", id } references to other variables, or — for an EASING variable — an easing curve { type, easingFunctionCubicBezier?, easingFunctionSpring? }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||