generateReactComponent
Generate React components from Spline 3D scenes with configurable interactivity levels, responsive design options, and TypeScript support for web 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": {
"sceneId": "<sceneId>"
},
"name": "generateReactComponent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| componentName | No | React component name | SplineScene |
| interactivity | No | Level of interactivity | basic |
| responsive | No | Whether to make the component responsive | |
| typescript | No | Whether to generate TypeScript code |