Daily apartment rent for a room size and what you keep in it
calculate_apartment_rent[Game reference] Daily apartment rent for a room size and what you keep in it. The game's formula: max(minimum rent, sum(tax per stack x amount / stack size) x apartment.rentscaling) scrap per
real day, taken continuously from the room's upkeep terminal; evicted after eviction_after_s unpaid. Vanilla apartment.rentscaling is 0, so rent is the room's minimum unless the server raised it. Link https://rust.wiki/apartments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_apartment_rent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | 1 small, 2 medium, 3 large. | |
| items | No | Comma-separated `shortname:amount` you store in the room or carry nearby, e.g. `sulfur:5000,metal.fragments:10000`. | |
| rent_scaling | No | Override apartment.rentscaling (the server's value; vanilla 0). |