get_token
Retrieves detailed information about a specific design token, including its resolved value.Tool Schema
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
tokenset_id | string | Yes | The ID of the tokenset containing the token |
mode_id | string | Yes | The ID of the mode containing the token |
token_id | string | Yes | The ID of the token to retrieve |
Response
Example Usage in Claude
Get Token Details
Check Token Aliases
Resolved Values
Theresolved_value field shows the actual value that should be used:
- For direct tokens:
resolved_valueequalsvalue - For aliased tokens:
resolved_valueis the resolved value from the referenced token - For complex tokens:
resolved_valuemay 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_tofield) reference other tokens by name - Use this tool when you need complete information about a specific token
See Also
- list_tokens_by_mode - List all tokens in a mode
- create_token - Create a new token
- update_token - Update token information
- search_tokens - Find tokens by name or value