Observe the game (optionally waiting)
observeReads the current passage state—text, choices, inputs, dialog, and status—optionally waiting for specified text or a timeout before returning it.
Instructions
Read the current passage: text, choices, inputs, dialog, status. Pass for_text or wait_ms to wait first — timed passages need no second call. Inputs are paginated in windows of 40.
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": "observe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | "text" (default) or "json". | |
| game_id | No | Session id from open_game. Omit when a single game is open. | |
| wait_ms | No | Wait this long first (also for_text timeout, default 15000). | |
| for_text | No | Wait until this text appears, then observe. | |
| variables | No | "diff" (default) prints only changes; "full" dumps the tree. | |
| since_last | No | Only a "no change" note when unchanged (default true; json ignores). | |
| inputs_limit | No | Inputs to list (default 40). | |
| inputs_offset | No | Skip this many inputs (default 0). | |
| max_text_chars | No | Cap passage text (default 12000). | |
| include_variables | No | Embed story variables (default false). |