resource-dependencies
Analyze resource dependencies and detect circular references to understand scene or script dependencies before refactoring.
Instructions
[compact alias of get_dependencies] Analyzes resource dependencies and detects circular references. Use to understand what a scene/script depends on before refactoring.
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>",
"resourcePath": "<resourcePath>"
},
"name": "resource-dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Absolute path to project directory containing project.godot. Use the same path across all tool calls in a workflow. | |
| resourcePath | Yes | Path to analyze (e.g., "scenes/player.tscn", "scripts/game.gd") | |
| depth | No | How deep to traverse dependencies. -1 for unlimited. Default: -1 | |
| includeBuiltin | No | If true, includes Godot built-in resources. Default: false |