get_diary
Read diary entries from the current Civilization VI game to restore strategic memory. Filter by turn number or retrieve the most recent entries.
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 |
|---|---|---|---|
| turn | No | ||
| last_n | No | ||
| to_turn | No | ||
| from_turn | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |