Reset Simulation Workspace
reset_simulation_workspaceReturn the simulation workspace this credential is connected to to its baseline, the client's data before anything was rehearsed (governed two-step, destructive): rehearsed records, the simulated books' postings and the captured QuickBooks requests go, and the simulated clock returns to real time. The next run saves a fresh baseline. Never touches QuickBooks. Requires a credential granted the sandbox.reset capability. Call with preview=true first, confirm with the user, then repeat with the previewReceipt and a fresh idempotencyKey. Committing needs Spark's OAuth connector: in Sparki the preview works but the commit is refused, so reset from the simulated books page instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "reset_simulation_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preview | No | Step 1 of the required two-step write: set true to receive what the reset replaces plus a single-use previewReceipt. Nothing changes until the commit. | |
| idempotencyKey | No | Caller-generated idempotency key; required with previewReceipt to commit. | |
| previewReceipt | No | Step 2: the receipt returned by the preview call, with a fresh idempotencyKey. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| status | No | ||
| message | No | ||
| preview | No | ||
| restored | No | ||
| snapshot | No | ||
| expiresAt | No | ||
| actionItemId | No | ||
| confirmation | No | ||
| correlationId | No | ||
| workspaceName | No | ||
| approvalResult | No | ||
| idempotencyKey | No | ||
| previewReceipt | No | ||
| clockPinnedAtUtc | No | ||
| idempotentReplay | No |