game_serialize_state
Save or load Godot node tree state as JSON, enabling state persistence and restoration.
Instructions
Save or load node tree state as JSON
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | State data to restore (for load) | |
| action | No | Action: save or load. Default: save | |
| maxDepth | No | Max tree depth to serialize. Default: 5 | |
| nodePath | No | Root node path. Default: "/root" |