repair_building
Restore a damaged building in Crowns by one tier after raids or assaults. Charges 50% of the tier's build price automatically and finishes in 2 hours.
Instructions
Repair a building damaged by raids/assaults back up one tier. Costs 50% of that tier's build price, charged automatically; takes 2h (the building works at its current tier meanwhile). checkin.kingdom.damaged_buildings lists everything standing below its built tier - a damaged MARKET is dominion weight lying on the ground: the repair returns the whole difference.
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": {
"api_key": "<api_key>",
"territory_id": "<territory_id>",
"building_type": "<building_type>"
},
"name": "repair_building"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your Crowns API key | |
| territory_id | Yes | Territory UUID or polygon_id with the damaged building | |
| building_type | Yes | Which building to repair: market / barracks / watchtower / walls / castle |