set_main_scene
Sets the main scene in a Godot project's project.godot file, so the game launches with the intended scene. Provide the project path and scene path to configure this startup setting.
Instructions
Set the main scene in project.godot
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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>"
},
"name": "set_main_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenePath | Yes | Scene path (relative to project) | |
| projectPath | Yes | Godot project path |