Docs
Tool Reference

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-only

List 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

List 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.
ParameterTypeDefaultDescription
city_id*integerCity Id

List 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-only

Read 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.
ParameterTypeDefaultDescription
last_ninteger5Last N
turnintegernullTurn
from_turnintegernullFrom Turn
to_turnintegernullTo Turn

get_diplomacy

Read-only

Get 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

Show 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.
ParameterTypeDefaultDescription
city_id*integerCity Id
district_type*stringDistrict Type

Get 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 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

Find 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-only

Get 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

See 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-only

Get 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)
ParameterTypeDefaultDescription
center_x*integerCenter X
center_y*integerCenter Y
radiusinteger2Radius

Get 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 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

Check 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

Check 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-only

Get 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

List 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.
ParameterTypeDefaultDescription
city_id*integerCity Id

Get 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

List 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.
ParameterTypeDefaultDescription
unit_id*integerUnit Id

get_spies

Read-only

List 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 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 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

List 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.
ParameterTypeDefaultDescription
unit_id*integerUnit Id

See 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.
ParameterTypeDefaultDescription
other_player_id*integerOther Player Id

Get 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

List 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.
ParameterTypeDefaultDescription
unit_id*integerUnit Id

get_units

Read-only

List 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 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

Show 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.
ParameterTypeDefaultDescription
city_id*integerCity Id
wonder_name*stringWonder Name

Get 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-only

List 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-only

Capture 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