{"ok":true,"tool":"Probability Calculator","operation":"calculate-probability","description":"Compute probability for coin, dice, or marble (hypergeometric) scenarios.","method":"POST","endpoint":"/api/probability-calculator","webUrl":"https://ultraquick.tools/tools/probability-calculator","parameters":{"type":"object","properties":{"type":{"type":"string","enum":["coin","dice","marble"],"description":"Scenario type"},"flips":{"type":"number","description":"Coin: number of flips"},"heads":{"type":"number","description":"Coin: target number of heads"},"sides":{"type":"number","description":"Dice: number of sides"},"target":{"type":"number","description":"Dice: target value"},"mode":{"type":"string","enum":["exact","atleast","atmost"],"description":"Dice: comparison mode (default exact)"},"total":{"type":"number","description":"Marble: total items"},"successTotal":{"type":"number","description":"Marble: total successes"},"draws":{"type":"number","description":"Marble: number drawn"},"successDraws":{"type":"number","description":"Marble: target successes drawn"}},"required":["type"]},"response":{"type":"object","properties":{"probability":{"type":"number"},"probabilityPercent":{"type":"number"},"odds":{"type":"string"}}},"example":{"request":{"type":"coin","flips":3,"heads":2},"response_shape":{"type":"object","properties":{"probability":{"type":"number"},"probabilityPercent":{"type":"number"},"odds":{"type":"string"}}}},"howToCall":"POST a JSON body to https://ultraquick.tools/api/probability-calculator. Returns {\"ok\":true,\"result\":{...}} on success or {\"ok\":false,\"error\":\"...\"} on failure. No auth, CORS-enabled.","parametersSummary":"  type (string, required, one of: coin|dice|marble) — Scenario type\n  flips (number, optional) — Coin: number of flips\n  heads (number, optional) — Coin: target number of heads\n  sides (number, optional) — Dice: number of sides\n  target (number, optional) — Dice: target value\n  mode (string, optional, one of: exact|atleast|atmost) — Dice: comparison mode (default exact)\n  total (number, optional) — Marble: total items\n  successTotal (number, optional) — Marble: total successes\n  draws (number, optional) — Marble: number drawn\n  successDraws (number, optional) — Marble: target successes drawn","curlExample":"curl -X POST https://ultraquick.tools/api/probability-calculator -H \"Content-Type: application/json\" -d '{\"type\":\"coin\",\"flips\":3,\"heads\":2}'"}