simulation_step
Control Packet Tracer simulation event flow: advance forward, step back, or reset the event list; requires Simulation mode.
Instructions
Advance the simulation (forward, like Capture/Forward), go back, or reset the event list. Needs Simulation mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | No | How many steps for `forward` and `back`. Defaults to 1, maximum 200. | |
| action | No | `forward` (Capture/Forward), `back`, or `reset` (clears the event list). |
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. |