Roll Dice
roll_dicePipeworx dice engine: roll tabletop dice notation with real randomness — NdS terms joined by + or - (2d6+1d4+3, 1d20-2), keep/drop (4d6kh3, 2d20kl1 for disadvantage, 4d6dl1), exploding dice (3d6!), fudge/Fate dice (4dF) and percentile (d% or d100). Up to 1,000 dice and 10,000 sides. Returns every die rolled, which dice were kept, per-term subtotals, the total and a readable breakdown; times repeats the roll (up to 100) and adds min/max/mean. Omit seed for a fresh roll; pass the returned seed to reproduce it exactly. The outcome is random — the calling agent decides what it means.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"times": 6,
"notation": "4d6kh3"
},
"name": "roll_dice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional seed. Same seed + same arguments = same result. Omit for a fresh random roll; the seed used is always returned. | |
| times | No | How many times to roll the whole notation (default 1, max 100). | |
| notation | Yes | Dice notation, e.g. "2d6+3", "4d6kh3", "2d20kl1", "d%", "4dF", "3d6!". |