set_main_scene
Set the main scene for a Godot project by providing the project path and scene path, updating project.godot to define which scene loads at startup.
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 |