Explosives needed to destroy a set of building pieces
calculate_raid_costExplosives needed to destroy a set of building pieces. For every explosive that can destroy all the given pieces: total units and sulfur, cheapest sulfur first;
cheapest is the best single option. Single-explosive totals - damage adds up across explosives, so a mix can
be cheaper (use /calculators/raid's damage_per_unit for that). Doors and deployables aren't covered yet.
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": {
"targets": "<targets>"
},
"name": "calculate_raid_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targets | Yes | Comma-separated `slug:count` building pieces (slugs from /building, or display names). | |
| explosives | No | `staples` (rockets, C4, satchels, explosive ammo, beancans), `all`, or a comma list of explosive shortnames. | staples |