purchase_tile
Buy a city tile with gold using the city ID and tile coordinates; check purchasable tiles first to compare costs and options.
Instructions
Buy a tile for a city with gold.
Args:
city_id: City ID
x: Tile X coordinate (target_x also accepted — unit_action 系工具用
target_x/target_y,这里收编别名免得同族参数名不一致再咬人)
y: Tile Y coordinate (target_y also accepted)
Use get_purchasable_tiles first to see costs and options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| city_id | Yes | ||
| target_x | No | ||
| target_y | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |