figma_get_variables
Retrieve Figma Variable collections, modes, and design tokens from the active document so you can inspect theme values, light/dark settings, and reusable colors, numbers, strings, and booleans.
Instructions
Retrieve all Figma Variable collections, modes (e.g. Light/Dark), and design tokens (colors, numbers, strings, booleans) from the active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tokens to return across all matched collections, to prevent token bloat on large design-token files (default: 300) | |
| target | No | fileName of a specific connected Figma document, when more than one is open (see figma_list_targets). | |
| collection_name | No | Optional filter by variable collection name (e.g. 'Theme', 'Tokens', 'Spacing') |