Query Tools
Read-only tools for inspecting game state
Read-only tools for inspecting game state, map, diplomacy, and progress. (33 tools)
get_cities
Read-onlyList all your cities with yields, population, production, growth, and loyalty.
Details
Each city shows its id (needed for production commands).
Cities losing loyalty show warnings with flip timers.No parameters
get_city_production
Read-onlyList what a city can produce right now.
Details
Args:
city_id: City ID (from get_cities output)
Returns available units, buildings, and districts with production costs.
Call this when a city finishes building or to decide what to produce next.| Parameter | Type | Default | Description |
|---|---|---|---|
| city_id* | integer | — | City Id |
get_city_states
Read-onlyList known city-states with envoy counts and types.
Details
Shows envoy tokens available, each city-state's type (Scientific,
Industrial, etc.), how many envoys you've sent, and who is suzerain.
Use send_envoy to send an envoy.No parameters
get_diary
Read-onlyRead diary entries for game memory.
Details
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.| Parameter | Type | Default | Description |
|---|---|---|---|
| last_n | integer | 5 | Last N |
| turn | integer | null | Turn |
| from_turn | integer | null | From Turn |
| to_turn | integer | null | To Turn |
get_diplomacy
Read-onlyGet diplomatic status with all known civilizations.
Details
Shows diplomatic state (Friendly/Neutral/Unfriendly), relationship modifiers
with scores and reasons, grievances, delegations/embassies, and available
diplomatic actions you can take. Also shows visible enemy city details
(name, population, loyalty, walls).No parameters
get_district_advisor
Read-onlyShow best tiles to place a district with adjacency bonuses.
Details
Args:
city_id: City ID (from get_cities)
district_type: e.g. DISTRICT_CAMPUS, DISTRICT_HOLY_SITE, DISTRICT_INDUSTRIAL_ZONE
Returns valid placement tiles ranked by adjacency bonus.
Use set_city_production with target_x/target_y to build the district.| Parameter | Type | Default | Description |
|---|---|---|---|
| city_id* | integer | — | City Id |
| district_type* | string | — | District Type |
get_empire_resources
Read-onlyGet a summary of all resources in and near your empire.
Details
Shows owned resources (improved/unimproved) grouped by type,
and unclaimed resources near your cities.No parameters
get_game_overview
Read-onlyGet a high-level summary of the current game state.
Details
Returns turn number, civilization, yields (gold/science/culture/faith),
current research and civic, and counts of cities and units.
Call this first to orient yourself.No parameters
get_global_settle_advisor
Read-onlyFind the best settle locations across the entire revealed map.
Details
Unlike get_settle_advisor (which searches near a specific settler),
this scans all revealed land for the top 10 settle candidates.
Use this when deciding WHERE to send a settler, not just where to settle.No parameters
get_governors
Read-onlyGet governor status, appointed governors, and available types.
Details
Shows governor points, currently appointed governors with assignments,
and governors available to appoint. Use appoint_governor to appoint one.No parameters
get_great_people
Read-onlySee available Great People and recruitment progress.
Details
Shows which Great People are available, their recruitment cost,
and which civilization (if any) is recruiting them.No parameters
get_map_area
Read-onlyGet terrain info for tiles around a point.
Details
Args:
center_x: X coordinate of center tile
center_y: Y coordinate of center tile
radius: How many tiles out from center (default 2, max 4)| Parameter | Type | Default | Description |
|---|---|---|---|
| center_x* | integer | — | Center X |
| center_y* | integer | — | Center Y |
| radius | integer | 2 | Radius |
get_notifications
Read-onlyGet all active game notifications.
Details
Shows action-required items (need your decision) and informational
notifications. Action-required items include which MCP tool to use
to resolve them. Call this to check what needs attention without
ending the turn.No parameters
get_pantheon_beliefs
Read-onlyGet pantheon status and available beliefs for selection.
Details
Shows current pantheon (if any), faith balance, and all available
pantheon beliefs with their bonuses. Use choose_pantheon to found one.No parameters
get_pending_diplomacy
Read-onlyCheck for pending diplomacy encounters (e.g. first meeting with a civ).
Details
Diplomacy encounters block turn progression. Call this if end_turn
reports the turn didn't advance. Returns any open sessions with their
dialogue text, visible buttons, and response guidance.No parameters
get_pending_trades
Read-onlyCheck for pending trade deal offers from other civilizations.
Details
Shows what each civ is offering and what they want in return.
Use respond_to_trade to accept or reject.No parameters
get_policies
Read-onlyGet current government, policy slots, and available policies.
Details
Shows current government type, each policy slot with its type and current
policy (if any), and all unlocked policies grouped by compatible slot type.
Wildcard slots accept any policy type.No parameters
get_purchasable_tiles
Read-onlyList tiles a city can purchase with gold.
Details
Args:
city_id: City ID (from get_cities)
Shows cost, terrain, and resources for each purchasable tile.
Tiles with luxury/strategic resources are listed first.| Parameter | Type | Default | Description |
|---|---|---|---|
| city_id* | integer | — | City Id |
get_religion_spread
Read-onlyGet per-city religion breakdown across all visible cities.
Details
Shows which religion is majority in each city, follower counts,
and which religions are closest to religious victory.No parameters
get_settle_advisor
Read-onlyList best settle locations near a settler unit.
Details
Args:
unit_id: The settler's composite ID (from get_units output)
Scores locations by yields, water, defense, and resource value.
Returns top 5 candidates sorted by score.| Parameter | Type | Default | Description |
|---|---|---|---|
| unit_id* | integer | — | Unit Id |
get_spies
Read-onlyList all your spy units with position, rank, city, and available missions.
Details
Shows each spy's composite id (needed for spy_action), current location,
rank (Recruit/Agent/Special Agent/Senior Agent), XP, and which operations
are available at their current position.
Note: offensive missions only become available once the spy has physically
arrived in the target city. Use spy_action with action='travel' first.No parameters
get_strategic_map
Read-onlyGet fog-of-war boundaries and unclaimed resources across the map.
Details
Shows how far explored territory extends from each city (in 6 directions),
highlighting directions that need exploration. Also lists unclaimed luxury
and strategic resources on revealed but unowned land.No parameters
get_tech_civics
Read-onlyGet technology and civic research status.
Details
Shows current research, current civic, turns remaining,
and lists of available technologies and civics to choose from.No parameters
get_trade_destinations
Read-onlyList valid trade route destinations for a trader unit.
Details
Args:
unit_id: The trader's composite ID (from get_units output)
Shows domestic and international destinations. Use unit_action
with action='trade_route' and target_x/target_y to start a route.| Parameter | Type | Default | Description |
|---|---|---|---|
| unit_id* | integer | — | Unit Id |
get_trade_options
Read-onlySee what both sides can trade — like opening the trade screen.
Details
Args:
other_player_id: The player ID (from get_diplomacy output)
Shows gold, resources, favor, open borders status, and alliance eligibility
for both you and the other civilization. Use before propose_trade to see
what's available.| Parameter | Type | Default | Description |
|---|---|---|---|
| other_player_id* | integer | — | Other Player Id |
get_trade_routes
Read-onlyGet trade route capacity, active routes, and trader status.
Details
Shows how many routes are active vs capacity, and lists all trader
units with their positions and whether they're idle or on a route.No parameters
get_unit_promotions
Read-onlyList available promotions for a unit.
Details
Args:
unit_id: The unit's composite ID (from get_units output)
Shows promotions filtered by the unit's promotion class.
Only units with enough XP will have promotions available.| Parameter | Type | Default | Description |
|---|---|---|---|
| unit_id* | integer | — | Unit Id |
get_units
Read-onlyList all your units with position, type, movement, and health.
Details
Each unit shows its id and idx (needed for action commands).
Consumed units (e.g. settlers that founded cities) are excluded.No parameters
get_victory_progress
Read-onlyGet victory condition progress for all civilizations.
Details
Shows progress toward Science, Domination, Culture, Religious,
Diplomatic, and Score victories. Includes space race VP, diplomatic VP,
tourism vs domestic tourists, religion spread, capital ownership,
and military strength. Call every 20-30 turns to track the race.No parameters
get_wonder_advisor
Read-onlyShow best tiles to place a wonder with displacement cost analysis.
Details
Args:
city_id: City ID (from get_cities output)
wonder_name: Wonder building type, e.g. BUILDING_CHICHEN_ITZA, BUILDING_ORSZAGHAZ
Returns valid placement tiles ranked by displacement cost (lowest = best):
tiles with no improvements or resources are preferred over productive tiles.
Also shows terrain, feature, river/coastal status, and any resources/improvements
that would be removed by placing the wonder there.
Use set_city_production with target_x/target_y to build the wonder.| Parameter | Type | Default | Description |
|---|---|---|---|
| city_id* | integer | — | City Id |
| wonder_name* | string | — | Wonder Name |
get_world_congress
Read-onlyGet World Congress status, active resolutions, and voting options.
Details
Shows whether congress is in session, resolutions to vote on (with options A/B
and possible targets), turns until next session, and your diplomatic favor.
When in session, use vote_world_congress to cast votes.No parameters
list_saves
Read-onlyList available save files (normal, autosave, quicksave).
Details
Returns indexed list of saves. Use load_save(save_index=N) to load one.
Call this before load_save to see what's available.No parameters
screenshot
Read-onlyCapture a screenshot of the Civilization VI game window.
Details
Returns the current game screen as an image for visual reasoning.
Useful for verifying game state, reading UI elements, or checking
map positions that are hard to describe with data alone.No parameters