set_city_production
Set a Civilization VI city's production to a specified unit, building, district, or project, with optional district placement coordinates and override controls.
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
force: Override a RED-alert block on civilian production. Only use
after reading the block's explanation — it fires when producing
a settler/builder while hostiles are at the gates.
force_reason: One sentence on WHY you are overriding. Recorded to
data/force_log.jsonl. Without it a post-game review cannot tell
a wrong gate from a wrong call — write it even when in a hurry.
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 |
|---|---|---|---|
| force | No | ||
| city_id | Yes | ||
| target_x | No | ||
| target_y | No | ||
| item_name | Yes | ||
| item_type | Yes | ||
| force_reason | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |