Observe current game state
observeRead the current passage text, numbered choices, input fields, dialog state and status text. Call again with inputs_offset to page through inputs when truncated.
Instructions
Read the current passage: text, numbered choices, input fields, dialog state and status text. Returns a formatted text observation (string); pass format:"json" for a JSON string. Inputs are paginated in windows of 40: when truncated, the header says e.g. "Inputs (41-80 of 132)" — call again with inputs_offset=80. Use find_ui(text) to jump to a specific control, get_variables for specific story variables, and since_last=true when polling to save tokens.
Input Schema
| Name | Required | Description | 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. | |
| since_last | No | If true and nothing changed, return only a short "no change" note (default true; ignored in json format). | |
| inputs_limit | No | How many inputs to list (default 40). | |
| inputs_offset | No | Skip this many inputs before listing (default 0). | |
| include_status | No | Include status/caption text (default true). | |
| max_text_chars | No | Cap passage text length (default 12000). | |
| include_variables | No | Embed the (truncated) story variables (default false; prefer get_variables for specific keys). |