Apply Cocos Scene Blueprint
cocos_local_apply_scene_blueprintApply a generated scene blueprint JSON to the active Cocos Creator scene, enabling automated scene editing through the editor bridge.
Instructions
Read a generated scene blueprint JSON and apply it to the currently open Cocos scene through the 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_apply_scene_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| openScene | No | ||
| saveScene | No | ||
| scenePath | No | assets/scenes/Main.scene | |
| timeoutMs | No | ||
| projectRoot | Yes | ||
| blueprintPath | No | .codex/cocos/starter-scene-blueprint.json | |
| openSceneDelayMs | No |