Run Simulation Scenario
run_simulation_scenarioRun a saved scenario file in the simulation workspace this credential is connected to. The file is the runner's JSON format (format "spark.scenario", version 1): a start (date, settings, account mapping, purchase orders) and actions (receivePurchaseOrder, reconcileBill, allocateCharges, supplierCredit, customerReturn, scrap, cycleCount) with optional expectations; check it first with check_simulation_scenario. The run is queued as a server job and this call returns at once; follow it with get_simulation_scenario_run. Before the first run on a fresh baseline the workspace saves its starting point, so reset_simulation_workspace undoes it. QuickBooks writes are captured, never sent. Refused on any account that is not a simulation workspace (NOT_A_SIMULATION_WORKSPACE); acts as you, an owner or admin of the workspace on its partner's team.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"scenario": "<scenario>"
},
"name": "run_simulation_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scenario | Yes | The whole scenario file as JSON text, exactly as saved (comments and trailing commas are allowed). Every problem in it is reported at once and nothing runs until it has none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| message | No | ||
| baseline | No |