generate_component
Generate a complete React component integrating an Appo SDK feature. Choose a feature, styling, and variant to receive ready-to-use UI code.
Instructions
Generate a UI component that uses @appolabs/appo SDK features. Returns a complete React component with SDK integration.
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": {
"feature": "<feature>"
},
"name": "generate_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| feature | Yes | The SDK feature to build the component around | |
| styling | No | Styling approach (default: tailwind) | |
| variant | No | Component variant/type | |
| componentName | No | Component name (optional, defaults to {Feature}Button or similar) |