setVariable
Set and modify variables in Spline 3D scenes to control animations, object properties, and interactive behaviors through parameter adjustments.
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>",
"variableName": "<variableName>",
"variableType": "<variableType>"
},
"name": "setVariable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| variableName | Yes | Variable name | |
| value | No | Variable value | |
| variableType | Yes | Variable type |