Switch scene
switch-sceneActivate a scene for every player by ID or name, optionally centering and zooming the view to fit the map. Requires write permission to update the world instantly.
Instructions
Activate a scene for every player, by id or name. With optimize_view the view is centred on the map and zoomed so the whole map fits. Players see the switch at once, so this is a change to the world and needs writing to be allowed.
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": {
"scene_identifier": "<scene_identifier>"
},
"name": "switch-scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| optimize_view | No | Centre and fit the view on the map afterwards | |
| scene_identifier | Yes | Id or name of the scene to activate |