roll_dice
:
Instructions
Roll dice using standard TRPG notation. Supports modifiers, keep-highest/lowest, Fudge dice, advantage/disadvantage, bonus/penalty dice, target checks, degree calculations, and critical detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notation | Yes | Dice expression (NdM+X, NdFate, kh/kl). | |
| advantage | No | D&D 5e advantage (1d20 only). | |
| disadvantage | No | D&D 5e disadvantage (1d20 only). | |
| bonus_dice | No | CoC bonus dice (1d100 only). | |
| penalty_dice | No | CoC penalty dice (1d100 only). | |
| target | No | DC, AC, or skill value for success check. | |
| target_mode | No | at_least | |
| critical | No | Detect nat 20/1 on d20 rolls. | |
| degrees | No | Success degree system. Requires target (except pbta). |