Load circuit
circuit_loadReplace the active circuit with a CircuitJS1 text definition, reset simulation time, and return parsed elements for verification.
Instructions
Replace the current circuit with the given circuit definition in Falstad CircuitJS1 text format (the same format produced by File > Export as Text, starting with a "$" line). Resets simulation time to 0. Returns the list of parsed elements so you can verify the circuit and note element indices for probing. The simulator keeps state between tool calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | Start the simulation running after load (default false). | |
| text | Yes | Circuit in Falstad text format. First line is the "$" options line: `$ flags timestep simSpeed currentSpeed voltageRange powerScale minTimestep`. A reasonable default: "$ 1 0.000005 10.20027730826997 50 5 50 5e-11". Coordinates are grid-snapped multiples of 16. |