Get design tokens
get_tokensList design tokens with resolved and dark-mode values plus Tailwind or CSS variable usage. Filter by category or substring to replace raw hex, px, and default palette classes.
Instructions
List design tokens with resolved values, dark-mode values and how to use each (Tailwind class or CSS variable). Filter by category (color, spacing, radius, typography, shadow, other) or a substring. Use these instead of hex codes, px values or Tailwind default palette classes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | In a monorepo served from its root: the file you are editing, or a project folder, relative to the root, to answer from that project. Without it, every project is listed together. Ignored in a single project. | |
| query | No | Substring to match in names, usages or descriptions. | |
| category | No | Only tokens of this category. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | Yes |