createEvent
Create interactive events in 3D scenes to trigger actions like animations, property changes, and function calls based on user interactions or scene conditions.
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": "<name>",
"type": "<type>",
"actions": "<actions>"
},
"name": "createEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | Scene ID | |
| name | Yes | Event name | |
| type | Yes | Event type | |
| objectId | No | Object ID (if object-specific event) | |
| actions | Yes | Actions to perform when event is triggered |