purchase_item
Purchase a unit or building instantly using gold or faith. Specify the city, item type, and name to complete the transaction.
Instructions
Purchase a unit or building instantly with gold or faith.
Args:
city_id: City ID (from get_cities output)
item_type: UNIT or BUILDING
item_name: e.g. UNIT_WARRIOR, BUILDING_MONUMENT
yield_type: YIELD_GOLD (default) or YIELD_FAITH
Costs gold/faith immediately. Use get_city_production to see what's available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city_id | Yes | ||
| item_type | Yes | ||
| item_name | Yes | ||
| yield_type | No | YIELD_GOLD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |