Get design tokens as JSON
get_design_tokensRetrieve design tokens as structured JSON—colors, typography, spacing, radii, components. If tokens are missing, returns partial results with an explanation.
Instructions
Return a design system's tokens - colours, typography, spacing, radii, components - as structured JSON. This is the cheapest way to answer any concrete styling question and should be your default over get_design. When a file has no machine-readable tokens the result sets partial:true and explains what is missing rather than returning nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Return just one token group. | |
| design_id | Yes | Namespaced id, e.g. "getdesign:stripe". |