wait_for_my_turn
Blocks until it is your turn in Civilization V, handling hand-off screens and AI turns, then returns turn_status; on timeout, call again.
Instructions
Block until it is my turn (hotseat: dismisses the hand-off screen; LAN/solo: waits for the AIs to finish), then return turn_status. On timeout it returns the current status with my_turn=false -- call it again. A progress notification goes out every few seconds while waiting, so with a client that honours progress timeout_seconds can be as long as an AI round needs (600-1800); otherwise keep it under the client's tool-call limit. Also sweeps informational popups. finish_turn does end_turn + this + turn_digest in one call.
Returns early with discussion_pending=true when an AI leader wants an answer mid-turn: discussion()
shows what they said and the buttons, respond_discussion(button_id) answers; for a trade offer on the
table incoming_deal() reads the terms and accept_deal()/refuse_deal() resolve it; dismiss_discussion()
leaves without agreeing. Then call this again.
Returns early with tech_popup_pending=true when a technology must be chosen (research still unset).
Every answer carries gate (as turn_status): null when you may act, else what still stands in the way
and the tool that clears it. A timeout answer carries seat (the player this server waits for) and
active_player; in hotseat a different active_player is the other player's turn -- call again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No |