cocos_add_scene_to_build
Add a scene to the build settings of a Cocos Creator project to include it in the final game build, skipping if already included.
Instructions
Add a scene to the includedScenes list in project settings.
Idempotent -- skips if the UUID is already included.
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": {
"project_path": "<project_path>",
"scene_uuid": "<scene_uuid>"
},
"name": "cocos_add_scene_to_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_uuid | Yes |