create_schematic
Create a blank LTspice schematic (.asc) for visual design, ready to add components, wires, and net labels. Use when a visual schematic is the deliverable.
Instructions
Create an empty .asc schematic ready for incremental editing via add_component / connect / add_net_label. Tip: prefer create_netlist + .cir for design iteration; use this only when a visual schematic is the deliverable. Prefer apply_schematic_ops for multi-step builds (one transaction); wire signal nets with connect; label grounds — and any net a .meas/B-source references by name — via add_net_label flags at pins. Don't hand-edit the .asc. Full layout guidance: the spice://guide resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name without the .asc extension. May include a relative subpath, e.g. 'work/divider' — it is resolved under the server working directory and parent directories are created automatically. Must stay within an allowed path ('..' is rejected). | |
| width | No | Sheet width (LTspice grid units). 880 matches LTspice's default. | |
| format | No | Response format: 'json' for structured data, 'text' for human-readable | |
| height | No | Sheet height (LTspice grid units). 680 matches LTspice's default. | |
| overwrite | No | Overwrite an existing file at this path. Default is to refuse. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path of the created .asc | |
| width | Yes | Sheet width (grid units) | |
| height | Yes | Sheet height (grid units) |