game_find_nodes_by_class
Locate all scene nodes matching a specified class type in the running game. Provide a class name and optional root path to begin the search.
Instructions
Find all nodes of a specific class type in the running game
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": {
"className": "<className>"
},
"name": "game_find_nodes_by_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootPath | No | Root node path to start searching from. Default: "/root" | |
| className | Yes | Class name to search for (e.g., "CharacterBody3D", "Light3D") |