Find usages
godot_usagesFind every use of a function, signal, variable, class, node, group, input action or res:// path across a Godot project before renaming, moving or deleting it.
Instructions
Find every place a name is used in the project, offline: a function, signal, variable, constant, class_name, autoload, input action, group or node name, or a res:// path / uid:// (which files refer to it, and whether it exists). Looks in GDScript (not comments), in strings where Godot looks names up (connect, emit_signal, is_action_pressed, add_to_group, get_node, load), in scene connections, node names and groups, and in project settings. Returns the definition, then each use with file, line, kind and the line itself (very common names are capped). Call it before you rename, move or delete anything; godot_rename makes the change everywhere. Read-only.
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": {
"name": "<name>"
},
"name": "godot_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | what to look for, e.g. take_damage, health_changed, Player, jump, res://scenes/enemy.tscn | |
| path | No | project folder, or a file or folder inside it (relative to the server's folder; default: the current project) |