Get Token
get_tokenRetrieve detailed information about a design token from the Optics Design System by providing the token name, such as 'color-primary' or 'spacing-md'.
Instructions
Get detailed information about a specific design token by name
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": {
"tokenName": "<tokenName>"
},
"name": "get_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenName | Yes | The name of the design token (e.g., "color-primary", "spacing-md") |