scaffold_component
Scaffolds standard boilerplate JavaScript code for a new Elementum Web Component adhering to design system standards.
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": {
"tag": "<tag>"
},
"name": "scaffold_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Component tag, e.g. "el-card" | |
| name | No | Component class name, e.g. "ElCard" | |
| attributes | No | Observed attributes, e.g. ["variant", "disabled"] | |
| description | No | Component description | |
| formAssociated | No | Whether the component associates with forms |