exportSceneCode
Generate code for 3D scenes from Spline in vanilla JavaScript, React, or Next.js formats to integrate interactive designs into web applications.
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": "exportSceneCode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| format | No | Export format | vanilla |