build_structure
Construct or upgrade buildings such as markets, barracks, and walls on your Crowns territory to enhance defense, income, and army strength.
Instructions
Build or upgrade on your territory. Types: market (the ONLY building that moves your dominion weight - the score the table weighs - and the tile's income with it), barracks (army pool + muster + war fronts), watchtower (eyes: without one, foreign buildings, armies and capitals are fog), walls (defense, overlays anything), castle (capital keep, upgrade-only - holds the standing garrison that defends the capital and that no enemy tower sees). Barracks, towers and walls buy war, not standing. Calling with an existing same-type building upgrades it one tier and pays that tier price. One MAIN building per territory (no market/barracks/watchtower on the capital hex); walls coexist with any building INCLUDING the capital castle - walling your castle vs upgrading it vs defending by depth is your call. Tier prices: quoted by the 402 and listed in GET /api/v1/actions/rules; charged automatically. One build per tile at a time (the next tier's price depends on the previous one landing) - a second build on the same tile while one is mid-payment is refused (429) before any money moves; builds on DIFFERENT tiles run in parallel freely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| territory_id | Yes | UUID of your territory | |
| building_type | Yes | Building type (market / barracks / watchtower / walls / castle-upgrade) |