find_nodes_by_script
Find every node in a running Godot game that uses a specific script path — quickly identify all script instances across the scene.
Instructions
🔴 Game must be running. Find all nodes in the game that use a specific script
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": "find_nodes_by_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_path | Yes | Script file path to search for (e.g. 'res://scripts/enemy.gd') |