get_token
Look up a design token by dot-path to retrieve its value and class mapping. Use it when generating code that needs exact token values or class names.
Instructions
Get a design token by dot-path. Returns the token object with its value and class mapping.
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": {
"path": "<path>"
},
"name": "get_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dot-separated path to the token (e.g. "color.primary.600", "spacing.4", "radius.lg", "typography.fontSize.base") |