Get one design token
tokens_getRetrieve a design token by its dot-path name, such as 'color.primary'. Returns the token's name, type, and value, or suggests close matches if not found.
Instructions
Get a single design token by its dot-path name, e.g. 'color.primary'. Returns { name, type, value }. If the token does not exist the error lists close matches; call tokens_list to see all names.
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": {
"name": "<name>"
},
"name": "tokens_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name as a dot path, e.g. 'color.primary' |