simulation_mode
Switch between Realtime and Simulation mode to control event timing; returns the current mode, simulation clock, and recorded event count.
Instructions
Switch between Realtime and Simulation mode. Returns the mode, the simulation clock and how many events are recorded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | `true` for Simulation mode, `false` for Realtime. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Simulation clock in milliseconds. | |
| events | Yes | Events recorded so far. | |
| simulation | Yes | ||
| current_event | Yes | Index of the event the simulation is at; `back` moves it without deleting events. |