List design tokens
tokens_listList design tokens from the token file, optionally filtered by type or name prefix, to discover token names before reading or updating tokens.
Instructions
List all design tokens in the token file. Optionally filter by type (color, dimension, fontFamily, number) or by name prefix such as 'color.'. Returns { count, tokens: [{ name, type, value }] }. Use this first to discover token names before calling tokens_get or tokens_set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only return tokens of this type | |
| prefix | No | Only return tokens whose name starts with this prefix, e.g. 'color.' |