set_city_production
Set a city's production to build units, buildings, districts, or projects. Specify city ID and item details; optionally provide coordinates for district placement.
Instructions
Set what a city should produce.
Args:
city_id: City ID (from get_cities output)
item_type: UNIT, BUILDING, DISTRICT, or PROJECT
item_name: e.g. UNIT_WARRIOR, BUILDING_MONUMENT, DISTRICT_CAMPUS, PROJECT_LAUNCH_EARTH_SATELLITE
target_x: X coordinate for district/wonder placement (required for districts — use get_district_advisor to find best tile)
target_y: Y coordinate for district/wonder placement
Tip: call get_cities first to see your cities and their IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| item_type | Yes | ||
| item_name | Yes | ||
| target_x | No | ||
| target_y | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |