generate_component
Generates AI-assisted Tailwind CSS components from a text description so you can choose framework, variant, theme, responsiveness, and accessibility.
Instructions
Generate Tailwind CSS components with AI assistance using Gemini
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": {
"description": "<description>",
"type": "<type>"
},
"name": "generate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Component size | md |
| type | Yes | Type of component | |
| theme | No | Theme preference | light |
| variant | No | Component variant | primary |
| framework | No | Target framework | react |
| useShadcn | No | Use shadcn/ui components as base | |
| responsive | No | Make component responsive | |
| description | Yes | Description of the component to generate | |
| accessibility | No | Include accessibility features |