logisim_render
Render a Logisim-evolution .circ circuit as a PNG image, optionally setting inputs or running clock cycles first, so you can visually verify wire values and circuit behavior.
Instructions
Render a circuit as a PNG picture (wire colours show values), optionally after setting inputs or running steps; optionally save the picture to a file.
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>"
},
"name": "logisim_render"
}
}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 | No | Simulation steps, in order | |
| inputs | No | Input name -> value (integer; multi-bit pins take the whole number, e.g. 5 or "0x1F") | |
| circuit | No | Circuit inside the file (default: the main circuit) | |
| save_to | No | Also write the PNG here |