ddb_roll_treasure
Generate treasure rewards from D&D 2024 or 2014 tables by CR or monster list; roll hoards or individual rewards with automatic CR resolution.
Instructions
Generate a treasure reward using the 2024 XDMG treasure tables (default). Provide either a CR directly or a list of monster names — CR is resolved automatically by name (exact, then partial; official entries only — a name that matches nothing, several different creatures, or a creature with no known CR is reported rather than guessed). treasure_type 'hoard' makes one roll using the highest CR and includes magic items (requires character_level); 'individual' rolls once per monster and sums the results. Limits (rejected requests return an error, never silently truncated): at most 20 monster entries, at most 100 per entry, and at most 200 characters per monster name — these per-entry restrictions apply to hoard requests too, not just individual. 'individual' additionally caps the total rolls (sum of all entry counts) at 100. Returns 2024 content by default; set rules_edition to '2014' for 2014 rules. The 'Rules:' line or [tag] in the output names the ruleset. Only 2024 treasure tables exist: '2014' still rolls them and says so, but resolves monster CRs from 2014 stat blocks.
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": "ddb_roll_treasure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cr | No | Challenge rating (0–30). Use instead of monsters for a direct CR lookup. | |
| monsters | No | Monsters from the encounter. Highest CR determines the treasure tier for hoards. At most 20 entries; for treasure_type 'individual' the total count across all entries is capped at 100 rolls. | |
| rules_edition | No | Ruleset: '2024' (default) or '2014'. | 2024 |
| treasure_type | No | individual = one roll per monster. hoard = one roll using the highest CR. | hoard |
| character_level | No | Character level (1–20). Required for hoard treasure to determine which magic item table to use. If omitted, magic items are skipped. |