figma_get_variables
Fetch local variables and collections (design tokens) from Figma, filtering by type or name to reduce token usage and target specific data.
Instructions
Get local variables and collections (design tokens). Filter by type or name to reduce token usage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max variables to return per collection (default 200) | |
| fileKey | Yes | ||
| namePattern | No | Filter by substring match on variable name (case-insensitive) | |
| resolvedType | No | Filter by variable type | |
| includeValues | No | Include valuesByMode (set false to browse names only, saves ~50% tokens) |