add_autoload_config
Adds an autoload singleton to the Godot project by specifying name and script path, with optional enable toggle.
Instructions
Add an autoload singleton to the project
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": {
"name": "<name>",
"path": "<path>"
},
"name": "add_autoload_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Autoload singleton name | |
| path | Yes | Script or scene path (e.g. 'res://autoload/global.gd') | |
| enabled | No | Whether the autoload is enabled (default: true) |