get_scene_tree
Retrieve the complete node tree of a Godot scene, including node names, types, paths, scripts, and groups, as a JSON object for analysis or manipulation.
Instructions
Inspect a scene: returns its full node tree (names, types, paths, scripts, groups) as JSON
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>",
"scenePath": "<scenePath>"
},
"name": "get_scene_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Path to the scene file (relative to project, e.g. scenes/main.tscn) |