Get Component Tokens
get_component_tokensRetrieve all design tokens (colors, spacing, typography) used by a specific component to inspect and reuse consistent styling.
Instructions
Get all design tokens used by a specific component
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": {
"componentName": "<componentName>"
},
"name": "get_component_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | The name of the component (e.g., "Button", "Card", "Input") |