scene-set-active
Set any opened scene as the active scene in Unity Editor by providing its scene asset reference.
Instructions
Set the specified opened scene as the active scene. Use 'scene-list-opened' tool to get the list of all opened scenes.
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": {
"sceneRef": "<sceneRef>"
},
"name": "scene-set-active"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneRef | Yes | Scene asset reference. SCHEMA: {"assetPath":"Assets/Scenes/MyScene.unity"} |