read_circuit
Read and parse LTspice circuit files (.cir, .net, .asc) to retrieve component values, netlist content, schematic layout, and directives for simulation.
Instructions
Read and parse a circuit file (.cir/.net or .asc). For netlists: returns content and component values. For schematics: returns layout and directives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to circuit file (.cir, .net, or .asc) | |
| format | No | Response format: 'json' for structured data, 'text' for human-readable |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| type | No | ||
| components | No | ||
| content | No | ||
| labels | No | ||
| wire_count | No | ||
| directives | No |