Change a circuit
edit_circuitChanges a CircuitJS circuit as asked in plain words, such as "make the two resistors parallel", "add a voltmeter across the LED" or "use a 12V supply", or answers a question about it ("what does the 10 mH part do?"). The changed circuit passes breadboardhub's structural checks, with one corrected attempt if needed; a change that would break the circuit is refused and the circuit is returned unchanged. Returns the new circuit, a link that opens it running live, and the parts to buy with supplier links. Takes up to a minute. Counts toward the daily design 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>",
"change": "<change>"
},
"name": "edit_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | Yes | What to change, or a question about the circuit, in plain words (3 to 1,000 characters). | |
| 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. | |
| purpose | No | Optional: what the circuit is for, in plain words (at most 1,000 characters). Helps keep the change in line with it. |