digital_build_circuit
Build a .dig circuit file from a structured design, with optional tests, SVG rendering, and opening in the Digital app.
Instructions
Build a Digital .dig file from a structured circuit design, optionally test, render and open it. The host AI should translate text or an attached image into this design object.
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": {
"design": "<design>"
},
"name": "digital_build_circuit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | Open the generated circuit in Digital.app on macOS. | |
| design | Yes | Object with elements, wires, and optional tests; see digital_design_schema. | |
| file_name | No | Optional simple .dig filename. | |
| run_tests | No | Run embedded test cases after building. | |
| render_svg | No | Export an SVG preview after building. | |
| timeout_seconds | No |