Build cost, daily upkeep and raid cost of a base
calculate_base_costBuild cost, daily upkeep and raid cost of a base. The base cost calculator page's math (https://rust.wiki/calculators/base). build_cost is the total
resources (a block's upgrade cost at its grade, a door's crafting recipe); upkeep is the tool cupboard's
daily and weekly cost on the building blocks at Rust's default brackets (the same result as
/calculators/upkeep/compute); raid_path gives each layer's cheapest standard explosive and the total sulfur
to reach the loot. unknown lists inputs that matched nothing.
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": {
"pieces": "<pieces>"
},
"name": "calculate_base_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pieces | Yes | Comma-separated `slug:count` pieces: building blocks by grade slug from /building (`stone-wall`, `metal-foundation`...) and doors or deployables by slug or item shortname (`door.hinged.metal`). Display names work too. | |
| raid_path | No | Optional: the layers a raider breaks through from outside to the loot, in order, same naming as `pieces` (`:n` repeats a layer). |