Read the simulation
read_simulationLast state (with circuit, the browser's components and wires), last compilation and the events after since_ms
(2000 at most). serial is the full serial output of the current run (up to 16 KiB), reset at each compile and
NOT starved by pin events: prefer it over reconstructing serial from events. During a turn on a real bench,
serial and the serial events come from the bench's board (since the turn began or the last compile), t on
the turn's clock. In challenge mode: the level's brief and its results. circuit_modified: the circuit differs from
the setup sheet's (types, ids, properties, wires; not positions or colours), null when unknown. circuit_error: the
editor's last refusal of a pushed circuit, returned once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | ||
| since_ms | No | ||
| agent_token | No |