update_autoload
Modify an existing autoload's script path or singleton flag in a Godot project. Omitted fields stay unchanged, avoiding remove-and-add cycles and requiring no running Godot process.
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 |
|---|---|---|---|
| singleton | No | New singleton flag | |
| 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 |