Calculate probability of meeting a target with a dice expression. Supports keep-high/low (4d6kh3).

post/api/tools/dice_odds

Request

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

Request body

expressionstring required

Dice expression (e.g. 2d6, 4d6kh3)

targetnumber required

Target number to meet or exceed

comparison'>=' | '>' | '<=' | '<' | '='

Comparison (default >=)

Response

Tool result

Changes

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