get_scene_dependencies
Parse a Godot .tscn file to list all external resource dependencies such as scripts, textures, and subscenes. Helps plan refactoring or file moves by revealing what a scene relies on.
Instructions
Parse a .tscn file for ext_resource references (scripts, textures, subscenes). Use to inspect what a scene depends on before refactoring or moving files. Returns { scene, dependencies: [{ path, type, uid? }] }. Errors if scene file does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the .tscn file relative to the project root (e.g. "scenes/main.tscn") |