add_autoload
Add or update an autoload singleton in a Godot project to automatically load scripts or scenes. Specify the project, singleton name, and script or scene path.
Instructions
Add (or update) an autoload singleton
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| autoloadName | Yes | Singleton name (e.g. GameState) | |
| path | Yes | Path to the script or scene (relative to project) | |
| enabled | No | Enable the singleton (default true) |