Get design tokens fallback
get_design_tokens_fallbackBuilds labeled design tokens from Figma file styles and optional inferred values when variables are unavailable, marking each inferred token as inferred: true.
Instructions
Skip the variables API. Build labeled tokens from file styles (library_content:read) plus optional inferred fills/type/radii/spacing from a subtree. Every inferred token has inferred: true — not real Figma variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Figma file key or URL (figma.com/design/... or figma.com/file/...) | |
| mode | No | ||
| node_id | No | Optional frame id. Without it, styles may be names-only (no paint values). | |
| max_variables | No |