simulation.run
Execute a prepared product simulation scenario, returning status, events, and run id. Requires scenario id from simulation.plan.
Instructions
Run a prepared local or model-swarm product simulation scenario.
Prerequisites: Call simulation.plan first and pass the returned scenario.id.
Returns on success: SimulationRun with status, events, eventCount, and persisted run id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenarioId | Yes | Scenario id returned by simulation.plan. | |
| adapter | No | Adapter mode. Defaults to the scenario adapter. | |
| maxAgents | No | ||
| rounds | No | ||
| allowLiveModels | No | Opt into live provider calls. Defaults to false. |