List Dev Kit Component Variants
devkit_list_component_variantsLists all variant names for a Dev Kit Italia web component, returning only the names. Use this list to choose the exact variant you need.
Instructions
Lists all available variant names for a Dev Kit Italia web component. Returns names only. Use devkit_get_component_markup to fetch a specific variant.
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": "devkit_list_component_variants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | Component name or slug (e.g. "accordion", "icon") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| total | Yes | ||
| component | Yes | ||
| variantsAvailable | Yes |