get_script_dependencies
Retrieve all resources and scripts that a given Godot script depends on by providing its res:// path, so you can inspect dependencies before editing or refactoring.
Instructions
Get all resources and scripts that a given script depends on.
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": {
"script_path": "<script_path>"
},
"name": "get_script_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | res:// path to the script |