Open Cocos Scene
cocos_local_open_sceneOpen a Cocos Creator scene directly in the running editor using a local bridge. Specify the project root and scene path to load the asset for editing.
Instructions
Open a Cocos Creator scene asset in the running editor through the Codex editor bridge.
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": {
"projectRoot": "<projectRoot>"
},
"name": "cocos_local_open_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| scenePath | No | assets/scenes/Main.scene | |
| sceneUuid | No | ||
| timeoutMs | No | ||
| projectRoot | Yes |