suggest_tokens
Analyzes a Figma node and its context to suggest ranked design tokens from the catalog, helping tokenize elements when naming conventions are unclear.
Instructions
Suggest tokens from the loaded catalog that fit a Figma node, ranked. Reads the node + nearby context (name, type, parent variant axes, tokens already applied to siblings) and scores every catalog token of compatible type. Returns the top N with reasoning per candidate. Use this when the design system's naming convention isn't obvious or when the user just says 'tokenize this' without spelling out paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| url | No | ||
| nodeId | No | ||
| fileKey | No | ||
| propertyKey | No |