{"name":"dice-stats","description":"Calculates the probability distribution of a dice roll, anydice-style. For plain XdY+mod returns the EXACT distribution (mean, stdev, min, max, and P(>= target)); for keep-highest/lowest (4d6kh3, 2d20kl1) estimates via seeded Monte Carlo. For sizing DCs, damage, and stat rolls. Use it as a dice probability calculator API, dice statistics tool, or odds-of-a-dice-roll checker.","price":"$0.005","method":"POST","input_schema":{"properties":{"notation":{"type":"string","description":"Dice notation: 2d6+3, 1d20, 4d6kh3, 2d20kl1."},"target":{"type":"number","description":"Optional target; returns probability of rolling at least this."},"trials":{"type":"number","description":"Monte-Carlo trials for keep-variants (1000-200000, default 50000)."},"seed":{"type":"number","description":"Optional integer seed for the Monte-Carlo case."}},"required":["notation"]},"input_example":{"notation":"2d6+3","target":10},"output_example":{"notation":"2d6+3","method":"exact","mean":10,"stdev":2.4152,"min":5,"max":15,"target":10,"probability_at_least_target":0.583333},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}