scene_state
Retrieve Godot's resolved scene tree with node types, scripts, properties, and signal connections, as instantiated by the engine. Useful for inspecting inherited scenes and instanced children not visible through GDScript analysis.
Instructions
Get Godot's own resolved view of a scene: node tree with types, script attachments, unique_name_in_owner flags, exported property values, and the signal connections declared in the scene. Godot's LSP reads .gd files only, so NONE of this is visible to gdscript_references or gdscript_rename. Runs the engine to resolve the scene, so inherited scenes and instanced children are resolved the way Godot actually instantiates them. Requires a Godot binary (GODOT_BIN or ./godot/).
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": {
"files": "<files>"
},
"name": "scene_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Scene paths, res:// or filesystem |