The project's files as a graph: unused, why used, what a scene loads
godot_depsTrace what loads what in a Godot project: find unused files, see why a file is reached, list a scene's dependencies, and detect ext_resource cycles. Read-only.
Instructions
Follow what loads what, from where the game starts (main scene, autoloads, every res:// path in project.godot, export include filters, the shipped file list from godotwright.json, add-ons, tests, editor scripts), through ext_resource, preload, load, class_name, folders and file names the code builds paths from, textures next to models and import settings. op unused: files nothing reaches, biggest first, whole folders as one line (when in doubt a file counts as used, so the list can be trusted). op why (file): the chain from the game to the file, before you delete or move it. op of (file): what a scene or resource loads with it, biggest first, what it can load later, and paths that do not exist. op cycles: scenes or resources that load each other through ext_resource, which Godot cannot load (it reports "[ext_resource] referenced non-existent resource" for a file that is there). Read-only.
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": {
"op": "<op>"
},
"name": "godot_deps"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | unused, why, of or cycles | |
| file | No | why and of: the res:// file | |
| path | No | project folder, or a file or folder inside it (relative to the server's folder; default: the current project) |