Skip to main content

get_token

Retrieves detailed information about a specific design token, including its resolved value.

Tool Schema

Parameters

Response

Example Usage in Claude

Get Token Details

Check Token Aliases

Resolved Values

The resolved_value field shows the actual value that should be used:
  • For direct tokens: resolved_value equals value
  • For aliased tokens: resolved_value is the resolved value from the referenced token
  • For complex tokens: resolved_value may include computed values

Common Use Cases

1. Token Verification

2. Alias Investigation

3. Token Documentation

Error Handling

If the token doesn’t exist, you’ll get an error response. Make sure all three IDs (tokenset_id, mode_id, token_id) are valid and the token exists in that specific mode.

Notes

  • Tokens are specific to both a tokenset and a mode
  • The same token name can exist in different modes with different values
  • Aliased tokens (alias_to field) reference other tokens by name
  • Use this tool when you need complete information about a specific token

See Also