logisim_simulate
Simulate a Logisim-evolution circuit step by step: set input pins, run clock cycles, and return a trace of output pins, LEDs, and probes, with optional final-state image.
Instructions
Run a circuit step by step: each step sets input pins, then runs 'clock' full clock cycles (all Clock components low->high->low). Returns a trace with one row per clock cycle (or per step without clock) of every output pin, LED and probe; values are decimal, or bit strings with x (undefined) and E (conflict). Optionally renders the final state.
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>",
"steps": "<steps>"
},
"name": "logisim_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .circ file (absolute, or relative to the working folder) | |
| scale | No | Image scale (default 1.5, reduced automatically for large circuits) | |
| steps | Yes | Simulation steps, in order | |
| render | No | Also return a picture of the final state | |
| circuit | No | Circuit inside the file (default: the main circuit) |