generate_frontend_component
Generate a frontend component with proper structure and types
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": {
"name": "<name>",
"framework": "<framework>"
},
"name": "generate_frontend_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| type | No | ||
| props | No | Props as name:type, e.g. title:string, count:number, onSelect:function. Append ? for optional (subtitle?:string). | |
| framework | Yes | ||
| withState | No | ||
| withStyles | No |