Get StyleKit style design tokens
stylekit_get_style_tokensGet a style's design tokens (Tailwind class mappings): border, shadow, typography, spacing, semantic colors, and forbidden/required classes. Style data is read from the live catalogue with a five-minute cache; when live data is unavailable, a bundled snapshot may be returned and marked with origin and fallbackReason.
Args:
slug (string): style identifier.
Returns JSON: the full StyleTokens object plus origin (live or bundled) and optional fallbackReason. Content provenance is distinct from transport origin.
Examples:
"give me the spacing and border tokens for bento-grid" -> slug: "bento-grid"
Returns an error if the style has no tokens registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Style slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| border | Yes | ||
| colors | Yes | ||
| origin | Yes | ||
| shadow | Yes | ||
| spacing | Yes | ||
| required | Yes | ||
| forbidden | Yes | ||
| typography | Yes | ||
| interaction | Yes | ||
| fallbackReason | No |