get_diary
Retrieve diary entries from a Civilization VI game to restore strategic memory. Specify recent entries, a specific turn, or a range of turns to recover past decisions.
Instructions
Read diary entries for game memory.
Args:
last_n: Number of most recent entries to return (default 5, max 50).
Used when turn/from_turn/to_turn are not specified.
turn: Return the single entry for this turn number.
from_turn: Return entries from this turn onward (inclusive).
to_turn: Return entries up to this turn (inclusive).
Auto-detects the current game from the live connection. Each game has
its own diary file (keyed by civ + random seed).
Call this at the start of a session or after context compaction to
restore strategic memory from previous turns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | ||
| turn | No | ||
| from_turn | No | ||
| to_turn | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |