Load an in-session snapshot
load_stateRestore a snapshot to return to an earlier story state, enabling branch exploration and replay during Twine game testing.
Instructions
Restore a snapshot created by save_state and return the resulting observation (text; format:"json" for JSON).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Snapshot name (default "default"). | |
| format | No | Output format: "text" (default, human-readable) or "json" (JSON string for programmatic use). | |
| game_id | Yes | Session id returned by open_game. |