set_unity_build_scenes
Replace Unity Editor build scenes with an ordered list after validating Assets/*.unity paths and rejecting duplicates before ProjectSettings changes. Read existing scenes first to preserve entries.
Instructions
Replace Unity Editor build scenes with an explicit ordered list. Every path is preflighted as an existing Assets/.../*.unity asset and duplicate paths fail before ProjectSettings are changed. Read get_unity_scenes first when preserving existing entries.
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": {
"scenes": "<scenes>"
},
"name": "set_unity_build_scenes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenes | Yes | Complete ordered build scene list; an empty list clears build settings |