save_scene
Save Godot 4 scenes to disk, either updating existing files or creating copies at new paths for version control and backup.
Instructions
Save a scene (re-writes it to disk, optionally to a new path).
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": "save_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to the project directory | |
| scenePath | Yes | Source scene path | |
| newPath | No | Optional new path to save as (copies the scene) |