Roll dice using standard notation (e.g. 2d6+3, 4d8, d20). Supports comma-separated pools and keep-high/low (4d6kh3).

post/api/tools/dice_roll

Request

  • Base URL: https://tools.moddable.games
  • URL: https://tools.moddable.games/api/tools/dice_roll
  • Auth: none declared

Request body

notationstring

Dice notation (e.g. 2d6+3, 4d6kh3, 3d8,1d12+2)

expressionstring

Alias for notation

countnumber

Number of times to roll (default 1)

Response

Tool result

Changes

No recorded changes to this operation across all 1 revision of this API.