Find the right token for an intent
suggest_tokenDescribe an interface element in plain words to get matching semantic design tokens with per-theme values and token-rationale. Avoid guessing token names or using raw hex values.
Instructions
Describe what you are styling in plain words and get the semantic tokens that apply, with resolved values per theme and a note on why that token rather than a neighbour. Use this instead of guessing a token name or reaching for a hex value.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"intent": "<intent>"
},
"name": "suggest_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| intent | Yes | e.g. "subtle border on a card", "text for a timestamp", "background for a dropdown menu". |