update_autoload
Update an existing Godot autoload's path or singleton flag with a single edit, avoiding the need to remove and add it again. 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. 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 |