createObject
Add 3D objects like cubes, spheres, cylinders, and lights to Spline scenes with custom positioning, rotation, and scaling for 3D design projects.
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>",
"type": "<type>",
"name": "<name>"
},
"name": "createObject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| type | Yes | Object type | |
| name | Yes | Object name | |
| position | No | Object position | |
| rotation | No | Object rotation | |
| scale | No | Object scale | |
| color | No | Object color (hex) | |
| properties | No | Additional properties |