update_autoload
Update an existing autoload's path or singleton flag in a Godot project. Modify fields individually without removing the autoload, avoiding orphan windows. No Godot process required.
Instructions
Modify an existing autoload's path or singleton flag. Pass either or both — omitted fields keep their current value. Use instead of remove_autoload + add_autoload (single edit, no orphan window). No Godot process required. Returns plain-text confirmation on success. Errors if autoloadName is not registered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| autoloadName | Yes | Name of the autoload to update | |
| autoloadPath | No | New path to the script or scene | |
| singleton | No | New singleton flag |