get_scene_dependencies
Parse a .tscn file to list its external resource dependencies (scripts, textures, subscenes) before refactoring or moving files.
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: the queried scene path and dependencies[] from ext_resource refs (path, type, optional uid). Errors if scene file does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenePath | Yes | Path to the .tscn file relative to the project root (e.g. "scenes/main.tscn") | |
| projectPath | Yes | Path to the Godot project directory |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | No | ||
| dependencies | No |