list_autoloads
Lists a Godot project's registered autoloads with paths and singleton flags by reading project.godot directly, helping diagnose headless failures before operations dispatch.
Instructions
List the autoloads registered in a project, with their paths and singleton flags. Use first when diagnosing headless failures: an autoload that stops the engine before an operation is dispatched fails every headless operation. Reads project.godot directly, no Godot process. Returns: autoloads[], each { name, path, singleton }, one per name (the last assignment, which the engine keeps); empty when none. warnings leads when a line is not listed or is not in the form Godot writes.
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>"
},
"name": "list_autoloads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| warnings | No | Present only when an autoload line could not be parsed, or assigns a name a later line assigns again (neither is listed in autoloads), or when project.godot holds lines that are not in the form Godot writes, named by line number: the engine may register an autoload from such a line that is not listed. | |
| autoloads | Yes |