generate_component
Generate accessible component templates with built-in WCAG compliance for forms, modals, navigation, and more, so teams can build inclusive interfaces without starting from scratch.
Instructions
Generate fully accessible component templates with WCAG compliance built-in
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": "generate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | WCAG compliance level | AA |
| styled | No | Include accessible CSS styles | |
| component | Yes | Type of component to generate | |
| framework | No | Target framework | html |
| interactive | No | Include JavaScript for interactions |