hig_get_tokens
Fetch Apple HIG design tokens for a category (color, typography, materials, layout, SwiftUI, SF Symbols) with provenance and verification flags to ensure accurate, trustworthy tokens for AI coding.
Instructions
Return curated Apple HIG design tokens for a category.
Tokens carry provenance: 'src' tags each value (apple-system, apple-hig, figma-effect, community-bestpractice, convention, wcag-aa) and 'verify':true flags values to confirm against the current OS. Semantic colors are dynamic — reference by name, never hardcode hex.
Args: params.category: one of color | typography | materials | layout | swiftui | sf_symbols | all
Returns: dict: the requested token category (or all categories), as structured data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||