Get Component Markup
bsi_get_component_markupRetrieves the HTML markup for a specific variant of a Bootstrap Italia component. Use it to obtain ready-to-use code for your interface.
Instructions
Returns the HTML markup for one specific variant of a Bootstrap Italia component. If variant is omitted returns the default (first) variant. Use bsi_list_component_variants to discover available names.
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": "bsi_get_component_markup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | No | Variant name (e.g. "Base", "Tabella base"). Omit for the default (first) variant. | |
| component | Yes | Component name or slug (e.g. "accordion", "card") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | ||
| result | Yes | ||
| variant | Yes | ||
| component | Yes |