set_main_scene
Set the main scene in a Godot project's project.godot file by specifying the project path and scene path. Use it to define which scene launches when the project runs.
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 |