set_city_production
Assign a city's production to a chosen unit, building, district, or project. Provide the city ID and item type/name; add coordinates for district or wonder 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"city_id": "<city_id>",
"item_type": "<item_type>",
"item_name": "<item_name>"
},
"name": "set_city_production"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| target_x | No | ||
| target_y | No | ||
| item_name | Yes | ||
| item_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |