update_autoload
Modify an existing autoload's path or singleton flag in one step. No Godot process required; avoids orphan windows.
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 |