remove_autoload
Unregister an autoload by name from project.godot to recover when a broken autoload blocks headless Godot operations; returns the removed name and remaining autoloads.
Instructions
Unregister an autoload from a project by name. Use to recover from an autoload that stops the engine before headless operations are dispatched. No Godot process is used. Returns: removed (the name) and autoloads[], the entries that remain, read back from project.godot. Errors if no autoload has that name.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"autoloadName": "<autoloadName>"
},
"name": "remove_autoload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| autoloadName | Yes | Name of the autoload to remove |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| removed | Yes | Name of the autoload that was removed. | |
| autoloads | Yes | The entries that remain. |