Simulate a circuit
simulate_circuitRuns a CircuitJS circuit in a real circuit simulator until it settles and returns the voltage across and current through each part, plus faults found: a short circuit, nothing flowing, an LED over its current rating, a bulb too dim to light. Takes 10 to 30 seconds. Limited per day; an API token raises the limit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"circuit": "<circuit>"
},
"name": "simulate_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| circuit | Yes | The circuit: a CircuitJS export (a "$" options line, then one part per line, at most 20,000 characters), or a breadboardhub.com/sim link that carries one. |