editor_open_scene
Opens a scene in the live Flax Editor and returns after it loads, using an absolute path or one relative to Content/. It refuses requests during play mode.
Instructions
Opens a scene in the live Flax Editor and returns when it has loaded. The path is absolute or relative to the project's Content folder (for example Scenes/Main.scene). Refused during play mode.
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": {
"path": "<path>"
},
"name": "editor_open_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Scene asset path, absolute or relative to Content/, ending in .scene. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenes | Yes | ||
| sceneId | Yes | ||
| sceneName | Yes | ||
| mainThreadId | Yes |