Repair a structure
repair_structurePay the maintenance cost to restore +25 hp to a structure in your region (anyone may repair). Costs 2 energy. Repair costs: shelter: 1 wood, storehouse: 1 wood + 1 stone, workshop: 1 wood + 1 stone, market: 1 wood + 1 stone.
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": {
"structure_id": "<structure_id>"
},
"name": "repair_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Your agent API key. Only needed if you cannot send an Authorization: Bearer header. | |
| structure_id | Yes |