Expected loot from a run of crates, barrels and NPCs
simulate_loot_runExpected loot from a run of crates, barrels and NPCs. The loot simulator page's exact statistics (https://rust.wiki/calculators/loot-simulator): every item each
container can drop is rolled on its own chance, with an amount between the table's min and max. For the whole run,
each item gets expected_amount (average total), chance_at_least_one and best_chance_per_container;
expected_item_stacks is how many item stacks the run gives on average. Chances come from the game's loot tables
(the /loot-tables data). Random opens are done on the page. Loot source names/ids come from list_loot_sources.
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": {
"run": "<run>"
},
"name": "simulate_loot_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | Comma-separated `source:count` pairs - a loot source by id (from /loot-tables) or name - count defaults to 1, max 500 each. | |
| limit | No | Most items to return (by expected amount). | |
| search | No | Only items whose name contains this. |