product_decision
Turn plain business inputs into a recommended decision: proceed, pause, or reject, backed by a risk summary with confidence and loss probability.
Instructions
Recommend an action for a business decision from plain inputs, and return the risk summary behind it. Each input becomes a simulation variable: fixed at value, or triangular when low and high bounds are given; inputs named cost/costs/expense/expenses/spending are subtracted in the objective. The engine evaluates scenarios (default 10000) and maps the loss probability to an action: over 50% -> reject, over the risk_tolerance threshold (low 5%, medium 15%, high 30%) -> pause, otherwise proceed. Use simulate for the raw distribution and plan_decision for the structured plan. Synchronous deterministic compute; nothing is persisted. Returns decision_id, action, confidence, reasoning and why bullets, expected_outcome, downside_risk (p5), upside_potential (p95), and probability_of_loss.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional caller label stored with the decision. | |
| engine | No | Simulation engine; auto (default) selects one from the data shape. Options: monte_carlo, lhs, qmc_sobol, bootstrap, mcmc, importance_sampling, time_series, sensitivity. | |
| inputs | Yes | Business inputs as {name, value, low?, high?, unit?} objects; low+high turn a value into a triangular uncertainty range. | |
| objective | No | Goal label such as maximize_value, minimize_risk, maximize_profit, or minimize_cost; defaults to maximize_value. | |
| scenarios | No | Scenarios to evaluate, 1000-1000000; defaults to 10000. | |
| risk_tolerance | No | Loss-probability ceiling for a proceed recommendation: low, medium (default), or high. |