game_serialize_state
Save or load the node tree state as JSON to persist and restore game progress.
Instructions
Save or load node tree state as JSON
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "game_serialize_state"
}
}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" |