build_logic
Synthesize boolean expressions into Logisim gates, pins, and wires with automatic layout, then optionally verify the generated circuit against truth tables.
Instructions
Synthesize boolean expressions into gates, pins and wires (auto layout).
outputs maps pin name -> expression. Syntax: NOT ~A !A A' ; AND A&B A*B A.B or 'A B'; XOR A^B ; OR A|B A+B ; constants 0 1 ; parentheses. Creates the file/circuit if missing, places below existing content unless x,y given, then (verify=true) runs the full truth table in Logisim 2.7.1 and compares with the expressions.
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": {
"path": "<path>",
"inputs": "<inputs>",
"outputs": "<outputs>"
},
"name": "build_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| path | Yes | ||
| inputs | Yes | ||
| verify | No | ||
| circuit | No | ||
| outputs | Yes |