Get design tokens
get_tokensList design tokens with resolved values, dark-mode values and usage (Tailwind class or CSS variable). Filter by category or substring to get the right token instead of hardcoded hex codes or px values.
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. Chart and sidebar colors are listed under their own headings: they are for charts and the sidebar, not for status colors.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_tokens"
}
}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. When the server was started outside your project, pass the file as an absolute path: the project is found from it. | |
| 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 |