Get Component CSS Variables
get_components_variablesGet CSS design tokens for components, filter by category (spacing, typography, etc.) to access styling variables.
Instructions
Get CSS custom properties (design tokens) for a component. Filter by category.
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": {
"component": "<component>"
},
"name": "get_components_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category (e.g., 'spacing', 'typography', 'size') | |
| component | Yes | Component name (e.g., 'Button', 'Alert', 'DataTable') |