Build circuit from netlist
tinkercad_build_circuitBuild a complete Tinkercad circuit in one call by placing components, setting attributes, wiring pins, and optionally adding Arduino code.
Instructions
Place components, set attributes, wire pins, and optionally write Arduino code in one call.
This is a convenience workflow over the primitive tools. Prefer primitives when you need to recover from a single failed step.
Args:
start_new (boolean): Open a new circuit first
components: [{ ref, type, x?, y?, attributes? }]
wires: [{ from, to }] using ref.pin (example: uno.D13 -> led1.anode)
code (string, optional)
response_format
Example: components: [ { "ref": "uno", "type": "arduino_uno_r3", "x": 220, "y": 220 }, { "ref": "led1", "type": "led", "x": 520, "y": 220, "attributes": { "color": "red" } }, { "ref": "r1", "type": "resistor", "x": 520, "y": 340, "attributes": { "resistance": "220" } } ] wires: [ { "from": "uno.D13", "to": "led1.anode" }, { "from": "led1.cathode", "to": "r1.pin1" }, { "from": "r1.pin2", "to": "uno.GND" } ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| title | No | ||
| wires | No | ||
| start_new | No | If true, open a new circuit before building | |
| components | Yes | ||
| response_format | No | Output format: markdown for humans, json for machine processing | markdown |